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

Method is_recoverable

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

Source from the content-addressed store, hash-verified

512 /// if retried or if prerequisites are satisfied.
513 #[inline]
514 pub fn is_recoverable(&self) -> bool {
515 // Not-found and already-exists errors might be recoverable
516 // if the missing entity is created or the duplicate is handled
517 self.is_not_found() || self.is_already_exists() || self.is_invalid_state()
518 }
519
520 // User Guidance
521

Callers

nothing calls this directly

Calls 3

is_already_existsMethod · 0.80
is_invalid_stateMethod · 0.80
is_not_foundMethod · 0.45

Tested by

no test coverage detected