SignerError
Defined in: src/signer.ts:113
Error thrown when a signer returns a JSON-RPC error response or when a transport-level failure occurs.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SignerError(
error,options?):SignerError
Defined in: src/signer.ts:119
Parameters
Section titled “Parameters”JsonRpcError
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”SignerError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: docs/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from
Section titled “Inherited from”Error.cause
code:
number
Defined in: src/signer.ts:115
The JSON-RPC error code.
optionaldata?:unknown
Defined in: src/signer.ts:117
Optional additional error data from the signer.
message
Section titled “message”message:
string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack