Skip to main content

is_range_limit_error

Function is_range_limit_error 

Source
pub(crate) fn is_range_limit_error(err: &RpcError<TransportErrorKind>) -> bool
Expand description

Returns true if err is a provider range/result-size limit that retrying over a smaller range can fix. Network, auth, rate-limit, and malformed-response errors return false.