RpcErrorCode

JSON-RPC error codes

https://www.jsonrpc.org/specification#error_object

Enumeration Members

PARSE_ERROR: -32700

Parse error Invalid JSON

INVALID_REQUEST: -32600

The JSON sent is not a valid Request object.

METHOD_NOT_FOUND: -32601

The method does not exist/is not available.

INVALID_PARAMS: -32602

Invalid method parameter(s).

INTERNAL_ERROR: -32603

Internal JSON-RPC error. This is a generic error, used when the server encounters an error in performing the request.

USER_REJECTION: -32000

user rejected/canceled the request

METHOD_NOT_SUPPORTED: -32001

method is not supported for the address provided

ACCESS_DENIED: -32002

The client does not have permission to access the requested resource.