MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / fmt

Method fmt

graphlite/src/txn/wal.rs:739–745  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

737
738impl 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
748impl std::error::Error for WALError {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected