Enum sapper::Error
[−]
[src]
pub enum Error { InvalidConfig, InvalidRouterConfig, FileNotExist, NotFound, Break, Unauthorized, Forbidden, TemporaryRedirect(String), Custom(String), CustomHtml(String), CustomJson(String), }
Variants
InvalidConfig
InvalidRouterConfig
FileNotExist
NotFound
Break
Forbidden
TemporaryRedirect(String)
Custom(String)
CustomHtml(String)
CustomJson(String)
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.