Enum forecast_io::Error [] [src]

pub enum Error {
    Hyper(HyperError),
    Json(JsonError),
    Io(IoError),
    Decode(&'static str, Value),
    Other(&'static str),
}

Variants

A hyper crate error

A serde_json crate error

A std::io module error

A json decoding error, with a description and the offending value

A miscellaneous error, with a description

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<IoError> for Error
[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

Performs the conversion.

impl From<JsonError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more