Type Definition rocket4::handler::ErrorHandler

source ·
pub type ErrorHandler = fn(_: &'r Request<'_>) -> Result<Response<'r>, Status>;
Expand description

The type of an error handler.