RetryFailureException

class RetryFailureException(message: String, cause: Throwable?, val attempts: Int, val lastResponse: Any?) : RetryException

Indicates the retrying has failed because of a non-retryable condition.

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.

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable?, attempts: Int, lastResponse: Any?)

Inherited properties

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

Additional metadata about the error

Inherited functions

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