ProviderRpcError with a code, message, and optional data field.
Provider errors
RPC errors
Handling rejections
Wagmi errors
Wagmi wraps provider errors in its own error types. The samecode values are preserved on the cause field:
Error codes the SDK throws and how to handle them.
ProviderRpcError with a code, message, and optional data field.
code values are preserved on the cause field: