APIErrorReason
public struct APIErrorReason
The APIErrorReason is the reason for the case where the statusCode is not 200-299.
-
HTTP status code.
Declaration
Swift
public let statusCode: Int -
The
erroris an error for the authentication API.Declaration
Swift
public let error: String? -
The
descriptionis description of error.Declaration
Swift
public let description: String? -
The
urlResponseis response from HTTP Request.Declaration
Swift
public let urlResponse: HTTPURLResponse -
The
errorCodeis a code for the error.Declaration
Swift
public let errorCode: String?
View on GitHub
APIErrorReason Structure Reference