(&self, f: &mut std::fmt::Formatter<'_>)
| 103 | |
| 104 | impl 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 | |
| 117 | impl std::error::Error for NodeError {} |
nothing calls this directly
no outgoing calls
no test coverage detected