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