Class: WalletRejectedError
Defined in: wallet-adapter/src/failure.ts:16 (opens in a new tab)
The person declined the request in their wallet.
ExtendsLink to this section
Error
ConstructorsLink to this section
ConstructorLink to this section
new WalletRejectedError(message?: string, cause?: unknown): WalletRejectedError;Defined in: wallet-adapter/src/failure.ts:20 (opens in a new tab)
ParametersLink to this section
| Parameter | Type | Default |
|---|---|---|
message | string | Default "the signature request was declined in the wallet" |
cause? | unknown | Default undefined |
ReturnsLink to this section
WalletRejectedError
OverridesLink to this section
Error.constructorPropertiesLink to this section
| Property | Type | Description | Defined in |
|---|---|---|---|
cause | unknown | What the wallet threw.Modifier readonly · Inherited from - | wallet-adapter/src/failure.ts:19 (opens in a new tab) |
code | "E_USER_REJECTED" | Modifier readonly · Inherited from - | wallet-adapter/src/failure.ts:17 (opens in a new tab) |
message | string | Modifier public · Inherited from Error.message | node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | string | Modifier public · Inherited from Error.name | node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | string | Modifier public · Inherited from Error.stack | node_modules/typescript/lib/lib.es5.d.ts:1078 |