(&self, f: &mut std::fmt::Formatter<'_>)
| 737 | |
| 738 | impl std::fmt::Display for WALError { |
| 739 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 740 | match self { |
| 741 | WALError::IOError(msg) => write!(f, "WAL IO Error: {}", msg), |
| 742 | WALError::CorruptedEntry(msg) => write!(f, "WAL Corrupted Entry: {}", msg), |
| 743 | WALError::ConfigError(msg) => write!(f, "WAL Config Error: {}", msg), |
| 744 | } |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | impl std::error::Error for WALError {} |
nothing calls this directly
no outgoing calls
no test coverage detected