Enum fisher_common::errors::ErrorKind [] [src]

pub enum ErrorKind {
    ProviderNotFound(String),
    InvalidInput(String),
    NotBehindProxy,
    WrongRequestKind,
    InvalidHexChar(char),
    InvalidHexLength,
    BrokenChannel,
    PoisonedLock,
    ThreadCrashed,
    IoError(Error),
    JsonError(Error),
    AddrParseError(AddrParseError),
    ParseIntError(ParseIntError),
    GenericError(Box<StdError + Send + Sync>),
    // some variants omitted
}

This enum represents the kind of error that occured, with the details about it.

Variants

The provider requested by an hook doesn't exist. The provider name is provided as the first parameter.

The input you provided was invalid. A more detailed error message is available in the first parameter.

The current request didn't travel across the configured number of proxies. This means the request was forged or the server is misconfigured.

The current request isn't of the required kind.

The character is not valid hex. The character is available in the first parameter.

The hex string has the wrong length.

An internal communication channel is broken.

An internal lock is poisoned, probably due to a thread crash.

An internal thread crashed.

An error occured while performing I/O operations. The underlying error is available as the first parameter.

An error occured while parsing some JSON. The underlying error is available as the first parameter.

An error occured while parsing an IP address. The underlying error is available as the first parameter.

An error occured while parsing a number. The underlying error is available as the first parameter.

A generic error, without a defined type

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.

impl Display for ErrorKind
[src]

Formats the value using the given formatter. Read more