Optional
message: stringOptional
options: { Optional
cause?: TOptional
data?: POJOOptional
timestamp?: DateCausation of the exception Can be used to know what caused this exception
Arbitrary data
Optional
stackTimestamp when exception was constructed in milliseconds Guaranteed to be weakly monotonic
Static
descriptionStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
captureStatic
fromJSONGenerated using TypeDoc
This is a special error that is only used for absurd situations Intended to placate typescript so that unreachable code type checks If this is thrown, this means there is a bug in the code