use tracing::*;
#[derive(Debug)]
pub struct SimplifiedStripeError(pub String);
impl From<reqwest::Error> for SimplifiedStripeError {
fn from(error: reqwest::Error) -> Self {
debug!(?error, "Stripe HTTP error");
SimplifiedStripeError(format!("{error}"))
}
}