CodedError is a subclass of Error that includes a code property.
Creates a new CodedError.
The error code.
The error name.
A code that can be used to identify the error type.
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
CodedError is a subclass of Error that includes a code property.