source/core/models/error_strategy library

Classes

CustomBackoff
Implements a custom backoff strategy defined by a function. Useful for testing or complex retry logic.
DatumBackoffStrategy
Abstract base class for retry backoff strategies.
DatumErrorRecoveryStrategy
Defines a strategy for how the sync engine should behave on errors.
ExponentialBackoff
Implements an exponential backoff retry strategy.
FixedBackoff
Implements a fixed backoff retry strategy where the delay is always the same.
LinearBackoff
Implements a linear backoff retry strategy where the delay increases by a fixed amount.