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