Type Alias: EIP1193ErrorObject
type EIP1193ErrorObject = {
code: ProviderRpcErrorCode;
data: unknown;
message: string;
};Defined in: support/wallet-common/lib/errors/eip-1193-interfaces.ts:14
Error Object is used to transmit error messages across MessageChannel and BroadcastChannels. This requires the data to be JSON serializable so we can't send the raw Error class
Type declaration
code
code: ProviderRpcErrorCode;data?
optional data: unknown;message
message: string;