error_handler

Function error_handler 

Source
pub fn error_handler<F, Bd>(f: F) -> ErrorHandler<F>
where F: Fn(Error) -> Response<Bd> + Clone,