Module hyper_middleware::error
source · Expand description
The custom error module.
This module provides a custom Error
type with HTTP Status functionality as well as useful macros.
The Error
type implements other several common error types
to ease conversions while consuming the input value via the From
trait.
Additionally, when used in HTTP contexts, the Error
type can be associated to an [HTTP Status Code][http::StatusCode
]
via the Error::with_status
method.
Modules
Structs
Represents an HTTP Error.
Traits
Provides the
context
method for Result
.