JSON::RPC::Constants(3) Constants

SYNOPSIS


use JSON::RPC::Constants qw(:all);
# or, import one by one

DEBUG

JSONRPC_DEBUG
Set to true if PERL_JSONRPC_DEBUG environmental variable is set to a value that evaluates to true. False otherwise.

This controls debug output of the module.

JSON RPC VALUES

These values are defined as per JSON RPC RFC.

RPC_PARSE_ERROR

RPC_INVALID_REQUEST

RPC_METHOD_NOT_FOUND

RPC_INVALID_PARAMS

RPC_INTERNAL_ERROR