ErrorCode
in package
AbstractYes
The error codes from and including -32768 to -32000 are reserved for pre-defined errors. Any code within this range, but not defined explicitly below is reserved for future use. The error codes are nearly the same as those suggested for XML-RPC at the following url: http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php The remainder of the space is available for application defined errors.
Table of Contents
Constants
- INTERNAL_ERROR = -32603
- Internal JSON-RPC error.
- INVALID_PARAMS = -32602
- Invalid method parameter(s).
- INVALID_REQUEST = -32600
- The JSON sent is not a valid Request object.
- METHOD_NOT_FOUND = -32601
- The method does not exist / is not available.
- PARSE_ERROR = -32700
- Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.
- SERVER_ERROR_END = -32000
- Reserved for implementation-defined server-errors.
- SERVER_ERROR_START = -32099
- Reserved for implementation-defined server-errors.
Constants
INTERNAL_ERROR
Internal JSON-RPC error.
public
mixed
INTERNAL_ERROR
= -32603
INVALID_PARAMS
Invalid method parameter(s).
public
mixed
INVALID_PARAMS
= -32602
INVALID_REQUEST
The JSON sent is not a valid Request object.
public
mixed
INVALID_REQUEST
= -32600
METHOD_NOT_FOUND
The method does not exist / is not available.
public
mixed
METHOD_NOT_FOUND
= -32601
PARSE_ERROR
Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.
public
mixed
PARSE_ERROR
= -32700
SERVER_ERROR_END
Reserved for implementation-defined server-errors.
public
mixed
SERVER_ERROR_END
= -32000
SERVER_ERROR_START
Reserved for implementation-defined server-errors.
public
mixed
SERVER_ERROR_START
= -32099