Represents an error that occurs when a request is invalid or cannot be otherwise served.
An optional error message.
Optional
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
Represents an error that occurs when a request is invalid or cannot be otherwise served.
Param: msg
An optional error message.