Enum rouille::RouteError
[−]
[src]
pub enum RouteError { NoRouteFound, WrongInput, LoginRequired, WrongLoginPassword, NotAuthorized, }
An error that one of your routes can return.
This is just a convenience enum and you don't need to use it in your project if you don't want to.
Variants
NoRouteFound | Couldn't find a way to handle this request. |
WrongInput | The user input is wrong. |
LoginRequired | The user must be logged in. |
WrongLoginPassword | The user entered a wrong login or password. |
NotAuthorized | The user is logged in but shouldn't be there. |