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

Method is_not_found

atomic-cli/src/error.rs:443–453  ·  view source on GitHub ↗

Check if this error indicates something was not found.

(&self)

Source from the content-addressed store, hash-verified

441
442 /// Check if this error indicates something was not found.
443 pub fn is_not_found(&self) -> bool {
444 matches!(
445 self,
446 Self::RepositoryNotFound { .. }
447 | Self::ViewNotFound { .. }
448 | Self::FileNotFound { .. }
449 | Self::ChangeNotFound { .. }
450 | Self::VaultEntityNotFound { .. }
451 | Self::RemoteNotFound { .. }
452 )
453 }
454
455 /// Check if this error is related to view operations.
456 pub fn is_view_error(&self) -> bool {

Callers 3

resolve_identityFunction · 0.45
verify_workspace_existsFunction · 0.45
map_project_errorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected