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

Method into_error

atomic-core/src/output/alive/retrieve/tests.rs:24–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22
23impl Fault {
24 fn into_error(self) -> PristineError {
25 match self {
26 Self::Inconsistent(message) => PristineError::Inconsistent {
27 message: message.to_string(),
28 },
29 Self::BlockNotFound { change, pos } => PristineError::BlockNotFound { change, pos },
30 }
31 }
32}
33
34#[derive(Default)]

Callers 2

find_blockMethod · 0.80
find_block_endMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected