Is your feature request related to a problem? Please describe.
I'm not sure then this was changes. I'm trying to update my code to the latest stripe version and update API. Currently I'm on 11.6.0 and would like to bump to 14.21.0 and API version 2023-10-16.
I have a nest.js app where I use the error filter middleware to catch potential Stripe errors, seems like the new version doesn't export the StripeError class anymore:
Is your feature request related to a problem? Please describe.
I'm not sure then this was changes. I'm trying to update my code to the latest stripe version and update API. Currently I'm on
11.6.0
and would like to bump to14.21.0
and API version2023-10-16
.I have a nest.js app where I use the error filter middleware to catch potential Stripe errors, seems like the new version doesn't export the
StripeError
class anymore:Describe the solution you'd like
Export
StripeError
to allow catching Stripe errors thrown inside the library.Describe alternatives you've considered
Remain on the old version.
Additional context
No response