ErrorCodes

Well-known JSON-RPC 2.0 error codes.

See also

Properties

Link copied to clipboard
const val INTERNAL_ERROR: Int

-32603 Internal error — internal JSON-RPC error.

Link copied to clipboard
const val INVALID_PARAMS: Int

-32602 Invalid params — invalid method parameter(s).

Link copied to clipboard
const val INVALID_REQUEST: Int

-32600 Invalid Request — the JSON sent is not a valid Request object.

Link copied to clipboard

-32601 Method not found — the method does not exist or is not available.

Link copied to clipboard
const val PARSE_ERROR: Int

-32700 Parse error — invalid JSON was received by the server.

Functions

Link copied to clipboard

Returns true if code is in the server-error range (-32000 to -32099).