Throw this error to return an HTTP error response.
This error should is caught by the framework and sent as an HTTP response. The message therefore should not contain any sensitive information!
Optional
Readonly
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Get a json representation of the error.
the json representation of the error
Create .stack property on a target object
Generated using TypeDoc
Throw this error to return an HTTP error response.
Warning
This error should is caught by the framework and sent as an HTTP response. The message therefore should not contain any sensitive information!