Non200Exception

class Non200Exception(val statusCode: Int) : NetworkException

Indicates that the response was a non-2XX HTTP status code. Whether the request can be retried is determined by the statusCode.

Parameters

statusCode

The HTTP status code of the network response

Constructors

Link copied to clipboard
constructor(statusCode: Int)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun isRetryable(): Boolean
Link copied to clipboard
open override fun toString(): String