Expand description
JSON-RPC 2.0 Standard Error Codes
This module contains the standard error codes defined by the JSON-RPC 2.0 specification. The error codes from -32768 to -32000 are reserved for JSON-RPC specification use.
Constants§
- INTERNAL_
ERROR - Internal error
- INVALID_
PARAMS - Invalid params
- INVALID_
REQUEST - Invalid Request
- METHOD_
NOT_ FOUND - Method not found
- PARSE_
ERROR - Parse error
- SERVER_
ERROR_ BASE - Server error (base)
- SERVER_
ERROR_ END - Server error (end of reserved range)
Functions§
- is_
server_ error - Helper function to check if a code is a reserved server error code