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

Method add_error

atomic-repository/src/record/assemble.rs:348–350  ·  view source on GitHub ↗

Add an error.

(&mut self, path: String, error: String)

Source from the content-addressed store, hash-verified

346
347 /// Add an error.
348 pub fn add_error(&mut self, path: String, error: String) {
349 self.errors.push((path, error));
350 }
351
352 /// Set the vault paths that were deflated during this record.
353 pub fn set_vault_paths(&mut self, paths: Vec<String>) {

Callers 2

test_outcome_add_errorFunction · 0.45
recordMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by 1

test_outcome_add_errorFunction · 0.36