Extends

  • Error

Extended by

Constructors

new CrossmintSDKError()

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

Parameters

ParameterType
messagestring
codestring
details?string

Returns

CrossmintSDKError

Overrides

Error.constructor

Defined in

packages/client/base/dist/index.d.ts:660

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
codereadonlystring--packages/client/base/dist/index.d.ts:658
details?readonlystring--packages/client/base/dist/index.d.ts:659
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.12.7/node_modules/@types/node/globals.d.ts:28
stackTraceLimitstaticnumber-Error.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

Error.captureStackTrace

Defined in

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