Skip to main content

is_transient_error

Function is_transient_error 

Source
pub fn is_transient_error(error: &str) -> bool
Expand description

Determine whether an error message represents a transient failure that is safe to retry (network issues, rate limiting, timeouts).

Returns true if the error is likely transient and a retry may succeed.