Enum jsonrpc_core::types::error::ErrorCode [−][src]
pub enum ErrorCode { ParseError, InvalidRequest, MethodNotFound, InvalidParams, InternalError, ServerError(i64), }
Expand description
JSONRPC 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.
ServerError(i64)
Reserved for implementation-defined server-errors.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more