Macro hyper_middleware::expectation_failed
source · macro_rules! expectation_failed {
($($arg:tt)*) => { ... };
}Expand description
Construct an Error with StatusCode::EXPECTATION_FAILED from a string or existing non-anyhow error value.