(&self)
| 482 | |
| 483 | impl<WE: std::fmt::Debug + std::error::Error + 'static> std::error::Error for FileOutputError<WE> { |
| 484 | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { |
| 485 | match self { |
| 486 | Self::Graph(e) => Some(e), |
| 487 | Self::Io(e) => Some(e), |
| 488 | Self::WorkingCopy(e) => Some(e), |
| 489 | Self::Output(e) => Some(e), |
| 490 | _ => None, |
| 491 | } |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | impl<WE> From<std::io::Error> for FileOutputError<WE> { |
nothing calls this directly
no outgoing calls
no test coverage detected