putdotio / putio-swift

Swift SDK for interacting with the put.io API.
MIT License
19 stars 3 forks source link

Specify return type as PutioAPIError #5

Closed altaywtf closed 2 years ago

altaywtf commented 4 years ago

always cast to PutioAPIError instead of either responseError or PutioAPIError also specify it on the resource methods