Error

Type Alias Error 

Source
pub type Error = Error<Error>;
Available on crate feature hyper only.
Expand description

A type alias of Error whose Service variant contains hyper::Error.

Aliased Type§

pub enum Error {
    Http(StatusCode),
    Service(Error),
    Utf8(Utf8Error),
}

Variants§

§

Http(StatusCode)

An HTTP error from the Stream.

§

Service(Error)

Error from the underlying HTTP client while receiving an HTTP response or reading the body.

§

Utf8(Utf8Error)

Twitter returned a non-UTF-8 string.