vnx.JRPC_Error

Class

The error object that is contained in error messages returned by JSON-RPC Interface.

Fields

int code

One of the following error codes:

static const int PARSE_ERROR = -32700;
static const int INVALID_REQUEST = -32600;
static const int METHOD_NOT_FOUND = -32601;
static const int INVALID_PARAMS = -32602;
static const int INTERNAL_ERROR = -32603;

static const int PERMISSION_DENIED = 403;
static const int EXCEPTION = 500;
string message

A short message to indicate what went wrong.

Exception *data

The actual exeption object as thrown on the server side.