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/wallets/src/signers/types.ts:75 Thrown when the signer frame was reloaded between starting and completing onboarding, so the in-memory onboarding state (and the OTP issued for it) is gone. A fresh OTP has already been requested when this is thrown; the caller should prompt the user to enter the new code.

Extends

  • Error

Constructors

new OnboardingSessionExpiredError()

new OnboardingSessionExpiredError(message): OnboardingSessionExpiredError
Defined in: packages/wallets/src/signers/types.ts:76

Parameters

ParameterTypeDefault value
messagestring"The signer session expired before the code could be verified. A new code has been sent."

Returns

OnboardingSessionExpiredError

Overrides

Error.constructor

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
messagepublicstring-Error.messagenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-Error.namenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-Error.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-tracesError.prepareStackTracenode_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts:28
stackTraceLimitstaticnumber-Error.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

Error.captureStackTrace