Function actix_web::error::ErrorPaymentRequired
source · pub fn ErrorPaymentRequired<T>(err: T) -> Errorwhere
T: Debug + Display + 'static,
Expand description
Helper function that wraps any error and generates a PAYMENT_REQUIRED
response.