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/utils/errors.ts:111

Extends

  • CrossmintSDKError

Constructors

new InvalidTransferAmountError()

new InvalidTransferAmountError(message, details?): InvalidTransferAmountError
Defined in: packages/wallets/src/utils/errors.ts:112

Parameters

ParameterType
messagestring
details?string

Returns

InvalidTransferAmountError

Overrides

CrossmintSDKError.constructor

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
codereadonlystring-CrossmintSDKError.codepackages/common/base/dist/error/index.d.ts:4
details?readonlystring-CrossmintSDKError.detailspackages/common/base/dist/error/index.d.ts:5
messagepublicstring-CrossmintSDKError.messagenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-CrossmintSDKError.namenode_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-CrossmintSDKError.stacknode_modules/.pnpm/typescript@5.9.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.14.8/node_modules/@types/node/globals.d.ts:28
stackTraceLimitstaticnumber-CrossmintSDKError.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

CrossmintSDKError.captureStackTrace