Skip to main content

Class: JWTError

Extends​

Constructors​

new JWTError()​

new JWTError(message?): JWTError

Parameters​

• message?: string

Returns​

JWTError

Inherited from​

AuthSdkError.constructor

Properties​

prepareStackTrace()?​

static optional prepareStackTrace: (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​

static stackTraceLimit: number

Inherited from​

AuthSdkError.stackTraceLimit


name​

name: string

Inherited from​

AuthSdkError.name


message​

message: string

Inherited from​

AuthSdkError.message


stack?​

optional stack: string

Inherited from​

AuthSdkError.stack

Methods​

captureStackTrace()​

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters​

• targetObject: object

• constructorOpt?: Function

Returns​

void

Inherited from​

AuthSdkError.captureStackTrace