Defines JSON-RPC error.
Gets error code.
Gets optional error data.
Tests for internal error.
Tests for invalid params.
Tests for invalid request.
Tests for method not found.
Tests for parse error.
Tests for server error.
Gets error message.
Returns string representation of error.