General
public enum General : Error
Pertaining to the General opperations. Mostly used by the ServerCommunicator
-
The request did not have proper authorization
Declaration
Swift
case Unauthorized
-
A unknown error has occured. Information about the error is stored. Code will be -1 if there is no code
Declaration
Swift
case UnknownError(error: Error?, text: String?, code: Int)
-
Response was not JSON! Text version is stored
Declaration
Swift
case InvalidJSON(text: String?, jsonError: NSError)
-
The data sent to the server was not able to be processed for whatever reason
Declaration
Swift
case Unprocessable
-
The data sent was not valid for the route. Consult the documentation for the route you are using
Declaration
Swift
case BadRequest
-
The response to the request was not as expected. Consult the documentation for the route you are using
Declaration
Swift
case UnexpectedResponse
-
The requested object(s) were not found on the server
Declaration
Swift
case Unfound