Optional
stackStatic
FailedStatic
InvalidThrown when an invalid value or operation is at hand.
Static
MissingThrown when a required parameter is missing.
Static
UnimplementedThrown when the control flow reaches unimplemented areas.
Static
UnsupportedThrown when unsupported functionality is requested.
Static
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackStatic
captureStatic
defineDefine an error subclass.
Name of error class. Prepended to parent.
How to generate the error message from the arguments passed to the constructor.
Optional
construct: ((self: Error, ...args: T) => any)Whether there are any further construction steps such as assigning properties.
Whether there are any further construction steps such as assigning properties.
Rest
...args: TGenerated using TypeDoc
Thrown when an operation fails.