pub fn ErrorExpectationFailed<T>(err: T) -> Error where
    T: 'static + Debug + Display
Expand description

Helper function that wraps any error and generates a EXPECTATION_FAILED response.