Skip to content
On this page

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

TypeScript
new WalletRejectedError(message?: string, cause?: unknown): WalletRejectedError;

Defined in: wallet-adapter/src/failure.ts:20 (opens in a new tab)

ParametersLink to this section

ParameterTypeDefault
messagestringDefault "the signature request was declined in the wallet"
cause?unknownDefault undefined

ReturnsLink to this section

WalletRejectedError

OverridesLink to this section

TypeScript
Error.constructor

PropertiesLink to this section

PropertyTypeDescriptionDefined in
causeunknownWhat 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)
messagestringModifier public · Inherited from Error.messagenode_modules/typescript/lib/lib.es5.d.ts:1077
namestringModifier public · Inherited from Error.namenode_modules/typescript/lib/lib.es5.d.ts:1076
stack?stringModifier public · Inherited from Error.stacknode_modules/typescript/lib/lib.es5.d.ts:1078