PutioError
public enum PutioError: Error
Represents errors that can occur when accessing the Put.io API
- couldNotParseJSON: There was an error parsing the JSON from the API
- noAccessToken: An access token was not provided so this endpoint could not be called
- invalidStatusCode: The expected status code was not returned
-
There was an error parsing the JSON from the API
Declaration
Swift
case couldNotParseJSON
-
An access token was not provided so this endpoint could not be called
Declaration
Swift
case noAccessToken
-
The expected status code was not returned
Declaration
Swift
case invalidStatusCode