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.
Extends
CrossmintSDKError
Extended by
Constructors
new NotAuthorizedError()
new NotAuthorizedError(Defined in: packages/common/base/dist/error/index.d.ts:9message,details?):NotAuthorizedError
Parameters
| Parameter | Type |
|---|---|
message | string |
details? | string |
Returns
NotAuthorizedError
Overrides
CrossmintSDKError.constructor
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
code | readonly | string | - | CrossmintSDKError.code | packages/common/base/dist/error/index.d.ts:4 |
details? | readonly | string | - | CrossmintSDKError.details | packages/common/base/dist/error/index.d.ts:5 |
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.14.8/node_modules/@types/node/globals.d.ts:28 |
stackTraceLimit | static | number | - | CrossmintSDKError.stackTraceLimit | node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts:30 |
Methods
captureStackTrace()
Defined in: node_modules/.pnpm/@types+node@20.14.8/node_modules/@types/node/globals.d.ts:21 Create .stack property on a target objectstaticcaptureStackTrace(targetObject,constructorOpt?):void
Parameters
| Parameter | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
CrossmintSDKError.captureStackTrace
