MCPcopy Create free account
hub / github.com/SeismicSystems/summit / fmt

Method fmt

types/src/reth.rs:105–114  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

103
104impl std::fmt::Display for NodeError {
105 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
106 match self {
107 NodeError::NoStdout => write!(f, "No stdout available"),
108 NodeError::SpawnError(e) => write!(f, "Spawn error: {}", e),
109 NodeError::CreateDirError(e) => write!(f, "Create dir error: {}", e),
110 NodeError::Timeout => write!(f, "Timeout"),
111 NodeError::ReadLineError(e) => write!(f, "Read line error: {}", e),
112 NodeError::Fatal(s) => write!(f, "Fatal error: {}", s),
113 }
114 }
115}
116
117impl std::error::Error for NodeError {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected