(code: ErrorCode, error: impl std::fmt::Display)
| 75 | |
| 76 | impl JournalError { |
| 77 | fn store(code: ErrorCode, error: impl std::fmt::Display) -> Self { |
| 78 | Self { |
| 79 | code, |
| 80 | message: error.to_string(), |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /// The crash-injection seam, ported VERBATIM from the legacy owner |
nothing calls this directly
no outgoing calls
no test coverage detected