Enum seamless::api::RouteError [−][src]
pub enum RouteError<B, E> {
NotFound(Request<B>),
Err(E),
}
Expand description
A route is either not found, or we attempted to run it and ran into an issue.
Variants
NotFound(Request<B>)
Tuple Fields
0: Request<B>
No route matched the provided request, so we hand it back.
Err(E)
The matching route failed; this is the error.
Implementations
Assume that the RouteError
contains an error and attempt to
unwrap this
Panics
Panics if the RouteError does not contain an error