pub enum ClientErrorKind {
    Interface(ResponseStatus),
    Ipc(Error),
    InvalidServiceResponseType,
    InvalidProvider,
    NoProvider,
    NoAuthenticator,
    MissingParam,
    NotFound,
    InvalidSocketAddress,
    InvalidSocketUrl,
}
Expand description

Types of errors local to the client library

Variants

Interface(ResponseStatus)

Errors generated by the Parsec interface library

Ipc(Error)

Errors generated by interacting with the underlying IPC mechanism

InvalidServiceResponseType

The opcode of the response does not match the opcode of the request

InvalidProvider

The operation is not supported by the selected provider

NoProvider

Client is missing an implicit provider

NoAuthenticator

Service is missing authenticator or none of the authenticators is supported by the client

MissingParam

Required parameter was not provided

NotFound

The requested resource was not found.

InvalidSocketAddress

The socket address provided is not valid

InvalidSocketUrl

The socket URL is invalid

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.