TooManyRedirects

class TooManyRedirects(val limit: Int, cause: Throwable?) : TransportFailure(source)

The request was redirected more often than the transport allows.

Stable Core. Message: The request was redirected more than <limit> times.

Parameters

limit

the transport's redirect limit; not negative.

cause

the lower-level throwable, or null.

Throws

Constructors

Link copied to clipboard
constructor(limit: Int, cause: Throwable?)
constructor(limit: Int)

Creates the failure without a cause.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val limit: Int

The transport's redirect limit.

Link copied to clipboard
open val message: String?