Function actix_web::error::ErrorExpectationFailed [−][src]
pub fn ErrorExpectationFailed<T>(err: T) -> Error where
T: Debug + Display + 'static,
Helper function that wraps any error and generates a EXPECTATION_FAILED
response.