Backblaze / b2-sdk-java

The official Java SDK for using Backblaze's B2 Storage APIs
Other
93 stars 26 forks source link

Updates B2WebApiHttpClientImpl to return a subtype of B2Exception on error #179

Closed nschile closed 1 year ago

nschile commented 1 year ago

If the error text is not of type B2ErrorStructure, then attempt to return a subtype of B2Exception. Returning a B2Exception subtype enables the B2Retryer to retry calls that may succeed on retry.