Skip to main content

should_retry_lighter_http_error

Function should_retry_lighter_http_error 

Source
pub fn should_retry_lighter_http_error(error: &LighterHttpError) -> bool
Expand description

Returns true if a request producing this error should be retried.

Retryable shapes are transport-layer failures, server-side 5xx, and rate limits. Venue-semantic errors (4xx other than 429, Venue, Parse) are surfaced unchanged.