(&self, f: &mut std::fmt::Formatter<'_>)
| 468 | |
| 469 | impl<WE: std::fmt::Debug> std::fmt::Display for FileOutputError<WE> { |
| 470 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 471 | match self { |
| 472 | Self::Graph(e) => write!(f, "Graph error: {}", e), |
| 473 | Self::ChangeStore(e) => write!(f, "Change store error: {}", e), |
| 474 | Self::Io(e) => write!(f, "I/O error: {}", e), |
| 475 | Self::WorkingCopy(e) => write!(f, "Working copy error: {:?}", e), |
| 476 | Self::Output(e) => write!(f, "Output error: {e}"), |
| 477 | Self::PositionNotFound(pos) => write!(f, "Position not found: {:?}", pos), |
| 478 | Self::InodeNotFound(inode) => write!(f, "Inode not found: {:?}", inode), |
| 479 | } |
| 480 | } |
| 481 | } |
| 482 | |
| 483 | impl<WE: std::fmt::Debug + std::error::Error + 'static> std::error::Error for FileOutputError<WE> { |
nothing calls this directly
no outgoing calls
no test coverage detected