UnsuccessfulResponseError
public class UnsuccessfulResponseError : Error
Error class that indicates the remote server returned an unsuccessful HTTP response code.
-
The HTTP response code received.
Declaration
Swift
public let responseCode: Int -
Constructor for an
UnsuccessfulResponseError.Declaration
Swift
public init(responseCode: Int)Parameters
responseCodeThe HTTP response code of the unsuccessful response.
View on GitHub
UnsuccessfulResponseError Class Reference