ResponseError
public enum ResponseError : Error
-
Declaration
Swift
case emptyResponse(url: URL?)
-
Declaration
Swift
case unableToDecodeResponse(url: URL?)
-
Declaration
Swift
case requestsLimitExceeded(url: URL?)
-
Declaration
Swift
case invalidRequest(httpCode: Int, url: URL?, message: String?)
-
Declaration
Swift
case serverError(httpCode: Int, url: URL?)
-
Declaration
Swift
public var url: URL? { get }
-
Declaration
Swift
public var errorDescription: String? { get }
-
Declaration
Swift
public var errorCode: Int { get }