ServerError

class ServerError(val statusCode: Int, val body: ByteArray?, val retryAfterMillis: Long? = null) : NetworkError

A non-2xx status outside the specifically-mapped cases below, carrying the raw body and the parsed Retry-After hint in milliseconds (retryAfterMillis), when the server sent one.

Constructors

Link copied to clipboard
constructor(statusCode: Int, body: ByteArray?, retryAfterMillis: Long? = null)

Properties

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