Skip to main content
This page has been updated for Wallets SDK V1. If you are using the previous version, see the previous version docs or the V1 migration guide.
Defined in: packages/common/base/dist/error/index.d.ts:11

Extends

Constructors

new JWTExpiredError()

new JWTExpiredError(expiredAt?, details?): JWTExpiredError
Defined in: packages/common/base/dist/error/index.d.ts:15

Parameters

ParameterType
expiredAt?string | Date
details?string

Returns

JWTExpiredError

Overrides

NotAuthorizedError.constructor

Properties

PropertyModifierTypeDescriptionOverridesInherited fromDefined in
codereadonlystring-NotAuthorizedError.code-packages/common/base/dist/error/index.d.ts:12
details?readonlystring--NotAuthorizedError.detailspackages/common/base/dist/error/index.d.ts:5
expiredAt?readonlystringThe expiry time of the JWT as an ISO 8601 timestamp, when reported by the API.--packages/common/base/dist/error/index.d.ts:14
messagepublicstring--NotAuthorizedError.messagenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring--NotAuthorizedError.namenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring--NotAuthorizedError.stacknode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces-NotAuthorizedError.prepareStackTracenode_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts:28
stackTraceLimitstaticnumber--NotAuthorizedError.stackTraceLimitnode_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts:30

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void
Defined in: node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts:21 Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

NotAuthorizedError.captureStackTrace