Optional
cause?: TOptional
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
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
Note that TlsFail error codes are documented here: https://github.com/google/boringssl/blob/master/include/openssl/ssl.h