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