Enum osu::error::Error [] [src]

pub enum Error {
    Format(FmtError),
    Hyper(HyperError),
    Json(JsonError),
    Io(IoError),
    Uri(UriError),
}

The error type used throughout the library.

This wraps all of the depended crates' error types and stdlib error types that can return from functions.

Variants

An error from std::fmt

A hyper crate error

A serde_json crate error

A std::io module error

An error from the hyper crate while parsing a URI.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<FmtError> for Error
[src]

[src]

Performs the conversion.

impl From<IoError> for Error
[src]

[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

[src]

Performs the conversion.

impl From<JsonError> for Error
[src]

[src]

Performs the conversion.

impl From<UriError> for Error
[src]

[src]

Performs the conversion.

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

1.0.0
[src]

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