Skip to main content

is_retryable_error

Function is_retryable_error 

Source
fn is_retryable_error(err: &Error) -> bool
Expand description

Checks if an error is retryable (transient failures that may succeed on retry).

Retryable errors include:

  • Timeouts
  • Connection errors (network issues, DNS failures)
  • Server errors (5xx)
  • Rate limiting (429)