RetryAttempt

data class RetryAttempt(val attempt: Int, val error: Throwable) : ResilientEvent

Emitted on each retry attempt.

Constructors

Link copied to clipboard
constructor(attempt: Int, error: Throwable)

Properties

Link copied to clipboard

The current retry attempt number (1-based).

Link copied to clipboard

The error that triggered this retry attempt.