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

Method is_content_error

atomic-core/src/crdt/apply/error.rs:496–501  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

494 /// Returns `true` if this is a content-related error.
495 #[inline]
496 pub fn is_content_error(&self) -> bool {
497 matches!(
498 self,
499 ApplyError::ContentOutOfBounds { .. } | ApplyError::InvalidContent { .. }
500 )
501 }
502
503 /// Returns `true` if this is an internal/bug error.
504 #[inline]

Callers 1

Calls

no outgoing calls

Tested by 1