Enum jsonrpc_lite::ErrorCode [] [src]

pub enum ErrorCode {
    ParseError,
    InvalidRequest,
    MethodNotFound,
    InvalidParams,
    InternalError,
    ServerError(i64),
}

Error Code

Variants

Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.

The JSON sent is not a valid Request object.

The method does not exist / is not available.

Invalid method parameter(s).

Internal JSON-RPC error.

Reserved for implementation-defined server-errors.

Methods

impl ErrorCode
[src]

Trait Implementations

impl Clone for ErrorCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ErrorCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ErrorCode
[src]

Formats the value using the given formatter.

impl ToString for ErrorCode
[src]

Converts the given value to a String. Read more