Enum owapi::Error [] [src]

pub enum Error {
    Network(Error),
    Parse(Error),
}

Generic error type colluding errors that may occur in the library.

Variants

A network request failed.

Parsing JSON failed.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.