Extends

Constructors

new UserWalletAlreadyCreatedError()

new UserWalletAlreadyCreatedError(userId): UserWalletAlreadyCreatedError

Parameters

ParameterType
userIdstring

Returns

UserWalletAlreadyCreatedError

Overrides

SmartWalletError.constructor

Defined in

packages/client/wallets/smart-wallet/src/error/index.ts:36

Properties

PropertyModifierTypeDefault valueDescriptionOverridesInherited fromDefined in
codereadonly"smart-wallet:user-wallet-already-created"SmartWalletErrorCode.USER_WALLET_ALREADY_CREATED-SmartWalletError.code-packages/client/wallets/smart-wallet/src/error/index.ts:34
details?readonlystringundefined--SmartWalletError.detailspackages/client/base/dist/index.d.ts:659
messagepublicstringundefined--SmartWalletError.messagenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstringundefined--SmartWalletError.namenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstringundefined--SmartWalletError.stacknode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyundefinedOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces-SmartWalletError.prepareStackTracenode_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:28
stackTraceLimitstaticnumberundefined--SmartWalletError.stackTraceLimitnode_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

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

SmartWalletError.captureStackTrace

Defined in

node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:21