ShipEngine / shipengine-ruby

The official Ruby SDK for ShipEngine API - source code for the shipengine_sdk Gem
https://rubygems.org/gems/shipengine_sdk
Apache License 2.0
2 stars 4 forks source link

Added error codes for funding sources errors #39

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