MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_retryable

Method is_retryable

atomic-remote/src/error.rs:340–342  ·  view source on GitHub ↗

Check if this is a retryable error. Some errors (like timeouts or temporary network issues) may succeed if retried, while others (like authentication failures) will not.

(&self)

Source from the content-addressed store, hash-verified

338 /// Some errors (like timeouts or temporary network issues) may succeed
339 /// if retried, while others (like authentication failures) will not.
340 pub fn is_retryable(&self) -> bool {
341 matches!(self, Self::ConnectionFailed { .. } | Self::Timeout { .. })
342 }
343
344 /// Check if this is an authentication error.
345 pub fn is_auth_error(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected