pub fn ExpectationFailed(err: impl StdError + Send + Sync + 'static) -> Error
Wraps any error into Error and the status code is StatusCode::EXPECTATION_FAILED.
Error
StatusCode::EXPECTATION_FAILED