stripe/stripe-java

Add javadoc for getCode in StripeException

debraj-manna opened this issue · 0 comments

Is your feature request related to a problem? Please describe.

Can you let me know what is the difference between StripeException.getCode() and StripeError.getCode(). Are they always equal?

Describe the solution you'd like

It would be good if a java doc is added for StripeException.getCode() mentioning what does the code denote and how is it different from StripeError.getCode().

Describe alternatives you've considered

No response

Additional context

  • Stripe Java Version - 22.2.0