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

Method is_ordering_error

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

Source from the content-addressed store, hash-verified

477 /// Returns `true` if this is an ordering-related error.
478 #[inline]
479 pub fn is_ordering_error(&self) -> bool {
480 matches!(
481 self,
482 ApplyError::InsertionPositionNotFound { .. }
483 | ApplyError::CircularReference { .. }
484 | ApplyError::OrderingViolation { .. }
485 )
486 }
487
488 /// Returns `true` if this is a storage/database error.
489 #[inline]

Callers 1

Calls

no outgoing calls

Tested by 1