RetryException

Indicates some failure happened while retrying.

Parameters

message

A message indicating the failure mode.

cause

An underlying exception which caused this exception.

attempts

The number of attempts made before this failure was encountered.

lastResponse

The last response received from the retry strategy before this failure was encountered.

lastException

The exception caught by the retry strategy before this failure was encountered. Note that the Throwable in this parameter isn't necessarily the cause of this exception.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inherited properties

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

Additional metadata about the error

Functions

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