Status code
Status message
Optional apimessage: stringThe API message that came with the error
HTTP status code
The default status message this got
Name of the constructor
Optional stackStatic Optional prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static stackStatic captureCreate .stack property on a target object
Optional constructorOpt: FunctionGenerated using TypeDoc
Error class that automatically sets
this.nametothis.constructor.name.