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