Skip to main content

Module error_codes

Module error_codes 

Source
Expand description

The standard JSON-RPC 2.0 error codes.

The reserved implementation range -32000..=-32099 is left to the concrete adapter (e.g. an application stale target code); only the protocol-standard codes live here.

Constantsยง

INTERNAL_ERROR
Internal JSON-RPC error.
INVALID_PARAMS
Invalid method parameters.
INVALID_REQUEST
The JSON sent is not a valid Request object.
METHOD_NOT_FOUND
The requested method does not exist or is not available on this peer.
PARSE_ERROR
Invalid JSON was received (the payload could not be parsed).