Closed dylanpyle closed 4 years ago
It would be great to have the following Error constructors available on the exported Shippo object. The only way to detect a specific type of error currently is to compare the type property against a string, which isn't ideal.
type
ShippoNotFoundError ShippoInvalidRequestError ShippoAPIError ShippoAuthenticationError ShippoConnectionError
It would be great to have the following Error constructors available on the exported Shippo object. The only way to detect a specific type of error currently is to compare the
type
property against a string, which isn't ideal.