@orangecheck/wallet-adapter / WrongAccountError
Class: WrongAccountError
Defined in: wallet-adapter/src/sign.ts:8
The wallet produced a signature that is not from the requested address —
usually because it signed with its active account. activeAddress is set
when the wallet reported which account that was.
Extends
Error
Constructors
Constructor
new WrongAccountError(requestedAddress: string, activeAddress?: string): WrongAccountError;
Defined in: wallet-adapter/src/sign.ts:10
Parameters
| Parameter | Type |
|---|---|
requestedAddress | string |
activeAddress? | string |
Returns
WrongAccountError
Overrides
Error.constructor
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
<a id="property-activeaddress"></a> activeAddress? | readonly | string | - | wallet-adapter/src/sign.ts:12 |
<a id="property-code"></a> code | readonly | "E_WRONG_ACCOUNT" | - | wallet-adapter/src/sign.ts:9 |
<a id="property-message"></a> message | public | string | Error.message | node_modules/typescript/lib/lib.es5.d.ts:1077 |
<a id="property-name"></a> name | public | string | Error.name | node_modules/typescript/lib/lib.es5.d.ts:1076 |
<a id="property-requestedaddress"></a> requestedAddress | readonly | string | - | wallet-adapter/src/sign.ts:11 |
<a id="property-stack"></a> stack? | public | string | Error.stack | node_modules/typescript/lib/lib.es5.d.ts:1078 |