pub fn PaymentRequired(err: impl StdError + Send + Sync + 'static) -> Error
Wraps any error into Error and the status code is StatusCode::PAYMENT_REQUIRED.
Error
StatusCode::PAYMENT_REQUIRED