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.