Class: EIP1193UnsupportedMethodError
Defined in: support/wallet-common/lib/errors/eip1193Errors.ts:63
Provider RPC error code 4200
Extends
Constructors
Constructor
new EIP1193UnsupportedMethodError(details?: string): EIP1193UnsupportedMethodError;Defined in: support/wallet-common/lib/errors/eip1193Errors.ts:64
Parameters
details?
string
Returns
EIP1193UnsupportedMethodError
Overrides
Methods
toString()
toString(): string;Defined in: support/wallet-common/lib/errors/HappyRpcError.ts:34
Returns a string representation of an object.
Returns
string
Inherited from
Properties
code
readonly code: number;Defined in: support/wallet-common/lib/errors/HappyRpcError.ts:10
Standard RPC error code from EIP1193ErrorCodes or EIP1474ErrorCodes
Inherited from
ctxMessages?
readonly optional ctxMessages: string[];Defined in: support/wallet-common/lib/errors/HappyRpcError.ts:22
This can store extra contextual information, similar to Viem's metaMessages.
We used it to include the RPC URL and the request body, just as Viem would do for its own errors.
Inherited from
details?
readonly optional details: string;Defined in: support/wallet-common/lib/errors/HappyRpcError.ts:16
Additional details provided when throwing the error.
Inherited from
shortMessage
readonly shortMessage: string;Defined in: support/wallet-common/lib/errors/HappyRpcError.ts:13
Short message matching the error code.