Module error_codes

Module error_codes 

Source
Expand description

Standard JSON-RPC 2.0 error codes

Constantsยง

AUTH_REQUIRED
Authentication required
INTERNAL_ERROR
Internal error: Internal JSON-RPC error
INVALID_PARAMS
Invalid params: Invalid method parameter(s)
INVALID_REQUEST
Invalid request: The JSON sent is not a valid Request object
METHOD_NOT_FOUND
Method not found: The method does not exist / is not available
PARSE_ERROR
Parse error: Invalid JSON was received
PERMISSION_DENIED
Permission denied
RATE_LIMITED
Rate limited
RESOURCE_NOT_FOUND
Resource not found
SERVER_ERROR_END
SERVER_ERROR_START
Server error range: -32000 to -32099 (reserved for implementation-defined server-errors)
SESSION_NOT_FOUND
Session not found