Expand description
Retry logic with exponential backoff for transient failures.
Provides helpers to detect retryable errors and configure exponential backoff with jitter for HTTP requests and other transient operations.
Functionsยง
- extract_
retry_ after - Extracts
retry_aftervalue from aRateLimitederror if present. - is_
retryable_ anyhow - Determines if an anyhow error is retryable.
- is_
retryable_ http - Determines if an HTTP status code is retryable.
- retry_
backoff - Creates a configured exponential backoff builder for retries.