ShipEngine / shipengine-java

The official Java SDK for ShipEngine API
https://www.shipengine.com/docs/
Apache License 2.0
1 stars 1 forks source link

Added error codes for funding sources errors #30

Open ChristianCasado opened 2 months ago

ChristianCasado commented 2 months ago

There are some common errors while interacting with funding sources that are not handled correctly. Two of them are that when we throw a PreSetupWalletException or a WalletException we return a "An unexpected error occurred" instead of a more understandable error. JIRA: https://auctane.atlassian.net/browse/ENGINE-7190 ShipEngine: https://github.com/shipstation/shipstation/pull/20482 SE Documentation: https://github.com/ShipEngine/shipengine-api-definition/pull/114