RetryBudgetExhaustedException

Thrown by retryWithBudget when a retry would be warranted (the operation failed and attempts remain) but budget has no tokens left -- failing fast instead of piling onto a downstream that retries elsewhere in the system may already be overwhelming.

Constructors

Link copied to clipboard
constructor(attempt: Long, cause: Throwable)

Properties

Link copied to clipboard

The attempt number (1-indexed) at which the budget ran out.

Inherited properties

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