Enum diffbot::Error [] [src]

pub enum Error {
    Api(u32, String),
    Json,
    Io(Error),
    Http(Error),
}

Error occuring during a call.

Variants

Api

The API returned an error.

Json

An error occured when decoding JSON from the API.

Io

An error occured with the network.

Http

An HTTP error occured with the webserver.

Trait Implementations

impl From<ParserError> for Error

fn from(err: ParserError) -> Self

impl From<Error> for Error

fn from(err: Error) -> Self

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for Error

fn fmt(&self, fmt: &mut Formatter) -> Result

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result