An OAuth2 error will come from the authorization server and will have at least an error property which will be the error code. And possibly an error_description property
error
error_description
See: https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.3.1.2.6
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
An OAuth2 error will come from the authorization server and will have at least an
error
property which will be the error code. And possibly anerror_description
propertySee: https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.3.1.2.6