Skip to main content

ErrorCode

Api Code Documentation / Exports / service/RpcResponse.h / ErrorCode

service/RpcResponse.h.ErrorCode

JSON-RPC 2.0 predefined error codes.

Table of contents#

Enumeration members#

Enumeration members#

InternalError#

• InternalError = -32603

Internal JSON-RPC error.

Defined in#

src/service/RpcResponse.h.ts:61


InvalidParams#

• InvalidParams = -32602

The method arguments are invalid.

Defined in#

src/service/RpcResponse.h.ts:56


InvalidRequest#

• InvalidRequest = -32600

The request body is an invalid JSON-RPC request.

Defined in#

src/service/RpcResponse.h.ts:46


MethodNotFound#

• MethodNotFound = -32601

The invoked method does not exist.

Defined in#

src/service/RpcResponse.h.ts:51


ParseError#

• ParseError = -32700

The request body is an invalid JSON document.

Defined in#

src/service/RpcResponse.h.ts:66