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

Method is_remote_error

atomic-repository/src/error.rs:503–510  ·  view source on GitHub ↗

Check if this error is related to remote operations

(&self)

Source from the content-addressed store, hash-verified

501
502 /// Check if this error is related to remote operations
503 pub fn is_remote_error(&self) -> bool {
504 matches!(
505 self,
506 RepositoryError::RemoteNotFound { .. }
507 | RepositoryError::NoRemotesConfigured
508 | RepositoryError::Remote(_)
509 )
510 }
511
512 /// Check if this error is related to apply operations
513 pub fn is_apply_error(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected