RetryEvent

sealed class RetryEvent(source)

Represents all possible Retry events that can be triggered in a Retry mechanism.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data class RetryOnError(val throwable: Throwable) : RetryEvent

Represents a retry event triggered when an error occurs.

Link copied to clipboard
data class RetryOnIgnoredError(val throwable: Throwable) : RetryEvent

Represents a retry event triggered when an error is ignored.

Link copied to clipboard
data class RetryOnRetry(val attempt: Int) : RetryEvent

Represents a retry event triggered when a retry is attempted.

Link copied to clipboard

Represents a retry event triggered when a retry succeeds.