Errors
JWTExpiredError
Extends
Constructors
new JWTExpiredError()
new JWTExpiredError(
expiredAt
):JWTExpiredError
Parameters
Parameter | Type |
---|---|
expiredAt | Date |
Returns
Overrides
NotAuthorizedError
.constructor
Defined in
packages/client/base/dist/index.d.ts:678
Properties
Property | Modifier | Type | Description | Overrides | Inherited from | Defined in |
---|---|---|---|---|---|---|
code | readonly | string | - | NotAuthorizedError .code | - | packages/client/base/dist/index.d.ts:673 |
details? | readonly | string | - | - | NotAuthorizedError .details | packages/client/base/dist/index.d.ts:659 |
expiredAt | readonly | string | The expiry time of the JWT as an ISO 8601 timestamp. | - | - | packages/client/base/dist/index.d.ts:677 |
message | public | string | - | - | NotAuthorizedError .message | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | public | string | - | - | NotAuthorizedError .name | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | public | string | - | - | NotAuthorizedError .stack | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1078 |
prepareStackTrace? | static | (err : Error , stackTraces : CallSite []) => any | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces | - | NotAuthorizedError .prepareStackTrace | node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:28 |
stackTraceLimit | static | number | - | - | NotAuthorizedError .stackTraceLimit | node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:30 |
Methods
captureStackTrace()
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
Parameters
Parameter | Type |
---|---|
targetObject | object |
constructorOpt ? | Function |
Returns
void
Inherited from
NotAuthorizedError
.captureStackTrace
Defined in
node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:21