Skip to main content

Module code

Module code 

Source
Expand description

JSON-RPC error codes as defined by the spec, plus the Confium-specific range (−32000 to −32099) for server errors.

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

Constants§

ENGINE_ERROR
A Confium engine operation returned an error.
INTERNAL_ERROR
Internal JSON-RPC error.
INVALID_PARAMS
Invalid method parameter(s).
INVALID_REQUEST
The JSON sent is not a valid Request object.
METHOD_NOT_FOUND
The method does not exist / is not available.
PARSE_ERROR
Invalid JSON was received by the server.
SERVER_ERROR
Generic server error (Confium-specific range start).