(&self, f: &mut fmt::Formatter<'_>)
| 299 | |
| 300 | impl fmt::Display for OutputError { |
| 301 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 302 | match self { |
| 303 | Self::Io(err) => write!(f, "I/O error: {}", err), |
| 304 | Self::WorkingCopy(err) => write!(f, "Working copy error: {}", err), |
| 305 | Self::ChangeStore(err) => write!(f, "Change store error: {}", err), |
| 306 | Self::Graph(err) => write!(f, "Graph error: {}", err), |
| 307 | Self::Pristine(err) => write!(f, "Pristine error: {}", err), |
| 308 | Self::PathNotFound { path } => write!(f, "Path not found: {}", path), |
| 309 | Self::InodeNotFound { inode } => write!(f, "Inode not found: {:?}", inode), |
| 310 | } |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | impl std::error::Error for OutputError { |
nothing calls this directly
no outgoing calls
no test coverage detected