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

Function codec_error

atomic-repository/src/repository/operation.rs:4764–4768  ·  view source on GitHub ↗
(error: impl std::fmt::Display)

Source from the content-addressed store, hash-verified

4762}
4763
4764pub(super) fn codec_error(error: impl std::fmt::Display) -> RepositoryError {
4765 RepositoryError::InvalidOperation {
4766 message: format!("invalid operation journal object: {error}"),
4767 }
4768}
4769
4770pub(super) fn pristine_error(error: impl std::fmt::Display) -> RepositoryError {
4771 RepositoryError::Database(error.to_string())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected