Extends

Extended by

Constructors

new SmartWalletError()

new SmartWalletError(message, details?, code?): SmartWalletError

Parameters

ParameterTypeDefault value
messagestringundefined
details?stringundefined
code?SmartWalletErrorCodeSmartWalletErrorCode.UNCATEGORIZED

Returns

SmartWalletError

Overrides

CrossmintSDKError.constructor

Defined in

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

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
codereadonlystring-CrossmintSDKError.codepackages/client/base/dist/index.d.ts:658
details?readonlystring-CrossmintSDKError.detailspackages/client/base/dist/index.d.ts:659
messagepublicstring-CrossmintSDKError.messagenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-CrossmintSDKError.namenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-CrossmintSDKError.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-tracesCrossmintSDKError.prepareStackTracenode_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:28
stackTraceLimitstaticnumber-CrossmintSDKError.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

CrossmintSDKError.captureStackTrace

Defined in

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