You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
let stripe_product = match stripe::Product::retrieve(
&state.stripe,
&stripe::ProductId::from_str(&product.id)?,
&[],
)
.await
{
Ok(stripe_product) => Some(stripe_product),
Err(error) => {
// what error type should be used here to know if it was found or not
}
};
I have searched through the docs, but I don't know what the error is named.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
I have searched through the docs, but I don't know what the error is named.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: