Function actix_web::error::ErrorExpectationFailed [] [src]

pub fn ErrorExpectationFailed<T>(err: T) -> InternalError<T>

Helper function that creates wrapper of any error and generate EXPECTATION FAILED response.