MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / fail

Method fail

graphlite/src/txn/state.rs:218–221  ·  view source on GitHub ↗

Mark transaction as failed with error message

(&mut self, error: String)

Source from the content-addressed store, hash-verified

216
217 /// Mark transaction as failed with error message
218 pub fn fail(&mut self, error: String) {
219 self.status = TransactionStatus::Failed(error);
220 self.end_time = Some(SystemTime::now());
221 }
222
223 /// Check if transaction is active
224 pub fn is_active(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected