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