Optional
message: stringOptional
options: { Optional
cause?: TOptional
data?: POJOOptional
timestamp?: DateArbitrary data
Optional
stackTimestamp when exception was constructed in milliseconds Guaranteed to be weakly monotonic
Static
descriptionStatic
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackStatic
captureStatic
fromJSONRuntime decoding of JSON POJO to exception instance
When overriding this, you cannot use super.fromJSON
You must write it fully, and use the same type-hacks
to support polymorphic this
in static methods
https://github.com/microsoft/TypeScript/issues/5863
Generated using TypeDoc
Causation of the exception Can be used to know what caused this exception