Class: OAuth2Error
Extends
Constructors
new OAuth2Error()
new OAuth2Error(
error,description?,uri?):OAuth2Error
Parameters
• error: string | OAuth2ErrorResponse
• description?: string
• uri?: string
Returns
Overrides
Properties
prepareStackTrace()?
staticoptionalprepareStackTrace: (err,stackTraces) =>any
Optional override for formatting stack traces
Parameters
• err: Error
• stackTraces: CallSite[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
AuthSdkError.prepareStackTrace
stackTraceLimit
staticstackTraceLimit:number
Inherited from
name
name:
string
Inherited from
message
message:
string
Inherited from
stack?
optionalstack:string
Inherited from
description?
optionaldescription:string
uri?
optionaluri:string
Accessors
error
geterror():string
Returns
string
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters
• targetObject: object
• constructorOpt?: Function
Returns
void