Enum jsonrpc::error::Error [−][src]
pub enum Error { Json(Error), Hyper(Error), Rpc(RpcError), NonceMismatch, VersionMismatch, EmptyBatch, WrongBatchResponseSize, BatchDuplicateResponseId(Value), WrongBatchResponseId(Value), }
A library error
Variants
Json(Error)
Json error
Hyper(Error)
Client error
Rpc(RpcError)
Error response
Response to a request did not have the expected nonce
Response to a request had a jsonrpc field other than “2.0”
Batches can’t be empty
Too many responses returned in batch
BatchDuplicateResponseId(Value)
Batch response contained a duplicate ID
WrongBatchResponseId(Value)
Batch response contained an ID that didn’t correspond to any request ID