Provider errors
Errors generated on the wallet/provider itself https://eips.ethereum.org/EIPS/eip-1193#provider-errors| Status code | Name | Description |
|---|---|---|
| 4001 | User Rejected Request | The user rejected the request. |
| 4100 | Unauthorized | The requested method and/or account has not been authorized by the user. |
| 4200 | Unsupported Method | The Provider does not support the requested method. |
| 4900 | Disconnected | The Provider is disconnected from all chains. |
| 4901 | Chain Disconnected | The Provider is not connected to the requested chain. |
JSON RPC errors
Errors coming from ETH nodesEVM RPC specific errors
https://eips.ethereum.org/EIPS/eip-1474#error-codes| Status code | Name | Description |
|---|---|---|
| -32000 | Invalid input | Missing or invalid parameters |
| -32001 | Resource not found | Requested resource not found |
| -32002 | Resource unavailable | Requested resource not available |
| -32003 | Transaction rejected | Transaction creation failed |
| -32004 | Method not supported | Method is not implemented |
| -32005 | Limit exceeded | Request exceeds defined limit |
| -32006 | JSON-RPC version not supported | Version of JSON-RPC protocol is not supported |
Standard RPC errors
https://www.jsonrpc.org/specification#error_object| Status code | Name | Description |
|---|---|---|
| -32700 | Parse error | Invalid JSON |
| -32600 | Invalid request | JSON is not a valid request object |
| -32601 | Method not found | Method does not exist |
| -32602 | Invalid params | Invalid method parameters |
| -32603 | Internal error | Internal JSON-RPC error |