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

Method source

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

Source from the content-addressed store, hash-verified

746
747impl std::error::Error for ApplyError {
748 fn source(&self) -> Option<&(dyn std::error::Error + 'static)> {
749 match self {
750 ApplyError::Storage { source, .. } => Some(source.as_ref()),
751 _ => None,
752 }
753 }
754}
755
756impl From<PristineError> for ApplyError {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected