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

Method mark_failed

atomic-core/src/crdt/apply/context.rs:514–517  ·  view source on GitHub ↗

Marks the apply as failed with a reason.

(&mut self, reason: impl Into<String>)

Source from the content-addressed store, hash-verified

512
513 /// Marks the apply as failed with a reason.
514 pub fn mark_failed(&mut self, reason: impl Into<String>) {
515 self.failed = true;
516 self.failure_reason = Some(reason.into());
517 }
518
519 // Stat Recording Convenience Methods
520

Callers 4

test_context_mark_failedFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_context_mark_failedFunction · 0.64