Enum hyper_fs::Exception [] [src]

pub enum Exception {
    Io(Error),
    Method,
    Typo,
    Route,
}

Error wrapped.

Variants

Io(io::error): not found, permission denied...

HTTP Method is not GET or HEAD.

New a StaticFile by a index(Not is file) or New a StaticIndex by a file(Not is index).

StaticFs's base url is not a prefix of Request's path.

Methods

impl Exception
[src]

[src]

fast creat Exception::Io(io::Error::from(IoErrorKind::NotFound))

Trait Implementations

impl Debug for Exception
[src]

[src]

Formats the value using the given formatter.