Failed

data class Failed(val finalFailure: AnalyzedFailure, val finalException: Exception, val finalAttemptMetrics: AttemptMetrics, val previousAttempts: List<FailedAttempt>) : RetriesOutcome<Nothing>

The operation failed on its final attempt and was not retried further.

Constructors

Link copied to clipboard
constructor(finalFailure: AnalyzedFailure, finalException: Exception, finalAttemptMetrics: AttemptMetrics, previousAttempts: List<FailedAttempt>)

Properties

Link copied to clipboard

Metrics of the final attempt (the successful one on Completed, the last failed one on Failed).

Link copied to clipboard

The exception thrown by the final attempt.

Link copied to clipboard

Classified failure of the final (failed) attempt.

Link copied to clipboard
open override val previousAttempts: List<FailedAttempt>

Every failed attempt that preceded the final attempt, in execution order.