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 error is an error for the authentication API.

    Declaration

    Swift

    public let error: String?
  • The description is description of error.

    Declaration

    Swift

    public let description: String?
  • The urlResponse is response from HTTP Request.

    Declaration

    Swift

    public let urlResponse: HTTPURLResponse
  • The errorCode is a code for the error.

    Declaration

    Swift

    public let errorCode: String?