Represents an unknown error type that is not an instance of Error Useful when you are catching an error in try/catch but the error is not an instance of Error
Error
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 unknown error type that is not an instance of
Error
Useful when you are catching an error in try/catch but the error is not an instance ofError