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

Function storage_err

atomic-core/src/crdt/apply/error.rs:64–69  ·  view source on GitHub ↗
(err: E, context: &str)

Source from the content-addressed store, hash-verified

62/// ```
63#[inline]
64pub fn storage_err<E: Into<PristineError>>(err: E, context: &str) -> ApplyError {
65 ApplyError::Storage {
66 source: Box::new(err.into()),
67 context: context.to_string(),
68 }
69}
70
71// ApplyResult Type Alias
72

Callers 15

apply_insert_onlyFunction · 0.85
apply_deleteFunction · 0.85
apply_restoreFunction · 0.85
apply_reparentFunction · 0.85
validate_branch_stateFunction · 0.85
validate_branch_parentFunction · 0.85
apply_insertFunction · 0.85
apply_deleteFunction · 0.85
apply_replaceFunction · 0.85
apply_restoreFunction · 0.85
validate_leaf_stateFunction · 0.85
validate_leaf_parentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected