Optional dataAdditional data provided as part of the error.
Optional stackStatic Optional prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static stackStatic captureGenerated using TypeDoc
Base class for custom errors throw by the API.