Module error

Source
Expand description

Error codes and objects.

This module contains JSON-RPC 2.0’s error object and codes, as well as some associated constants.

Structs§

ErrorObject
The error object.

Enums§

ErrorCode
Error object code.

Constants§

INTERNAL_ERROR
Code and message for ErrorCode::InternalError.
INVALID_PARAMS
Code and message for ErrorCode::InvalidParams.
INVALID_REQUEST
Code and message for ErrorCode::InvalidRequest.
METHOD_NOT_FOUND
Code and message for ErrorCode::MethodNotFound.
PARSE_ERROR
Code and message for ErrorCode::ParseError.
SERVER_ERROR
Message for ErrorCode::ServerError.