Module: CarrotRpc::Error::Code

Defined in:
lib/carrot_rpc/error/code.rb

Overview

An enum of predefined error codes.

Constant Summary collapse

INTERNAL_ERROR =

Internal JSON-RPC error.

-32_603
INVALID_PARAMS =

Invalid method parameter(s).

-32_602
INVALID_REQUEST =

The JSON sent is not a valid Request object.

-32_600
METHOD_NOT_FOUND =

The method does not exist / is not available.

-32_601
PARSE_ERROR =

Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.

-32_700