Constants

INTERNAL_ERROR → dynamic
An internal JSON-RPC error.
-32603
INVALID_PARAMS → dynamic
An error code indicating that the request parameters are invalid for the requested method.
-32602
INVALID_REQUEST → dynamic
An error code indicating that the request JSON was invalid according to the JSON-RPC 2.0 spec.
-32600
METHOD_NOT_FOUND → dynamic
An error code indicating that the requested method does not exist or is unavailable.
-32601
PARSE_ERROR → dynamic
Error codes defined in the JSON-RPC 2.0 specificiation. [...]
-32700
SERVER_ERROR → dynamic
An unexpected error occurred on the server. [...]
-32000

Functions

name(int errorCode) String
Returns a human-readable name for errorCode if it's one specified by the JSON-RPC 2.0 spec. [...]