Errors
SmartWalletError
Extends
Extended by
UserWalletAlreadyCreatedError
AdminMismatchError
PasskeyMismatchError
PasskeyPromptError
PasskeyRegistrationError
PasskeyIncompatibleAuthenticatorError
ConfigError
Constructors
new SmartWalletError()
new SmartWalletError(
message
,details
?,code
?):SmartWalletError
Parameters
Parameter | Type | Default value |
---|---|---|
message | string | undefined |
details ? | string | undefined |
code ? | SmartWalletErrorCode | SmartWalletErrorCode.UNCATEGORIZED |
Returns
Overrides
Defined in
packages/client/wallets/smart-wallet/src/error/index.ts:6
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
code | readonly | string | - | CrossmintSDKError .code | packages/client/base/dist/index.d.ts:658 |
details? | readonly | string | - | CrossmintSDKError .details | packages/client/base/dist/index.d.ts:659 |
message | public | string | - | CrossmintSDKError .message | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | public | string | - | CrossmintSDKError .name | node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | public | string | - | CrossmintSDKError .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 | CrossmintSDKError .prepareStackTrace | node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:28 |
stackTraceLimit | static | number | - | CrossmintSDKError .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
CrossmintSDKError
.captureStackTrace
Defined in
node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts:21