Skip to main content

Module retry

Module retry 

Source
Expand description

Retry transition helper for attempt outcomes.

This module deterministically maps a completed attempt outcome to the next run-state intent while enforcing the max_attempts hard cap.

Enums§

RetryDecision
Next run-state intent derived from one completed attempt.
RetryDecisionError
Error returned when retry decision inputs violate retry invariants.

Functions§

can_retry
Returns whether another attempt may be scheduled from this outcome.
decide_retry_transition
Computes retry transition intent from attempt outcome and counters.