RequestError
public enum RequestError : Error
An error that can occur when performing a request.
-
The server did not respond.
Declaration
Swift
case noResponse -
The server replied with a non HTTP response.
Declaration
Swift
case nonHTTPResponse -
The server replied with an empty body when a request was expecting one.
Declaration
Swift
case noData -
The server’s response did not pass the given response validation block.
Declaration
Swift
case unacceptableResponse
View on GitHub
RequestError Enumeration Reference