Create a graph error. # Arguments `err` - The underlying graph error # Example ```rust use atomic_core::output::repo::OutputError; let err = OutputError::graph(std::io::Error::new( std::io::ErrorKind::InvalidData, "corrupted graph" )); assert!(err.to_string().contains("Graph")); ```
(err: E)
| 193 | /// assert!(err.to_string().contains("Graph")); |
| 194 | /// ``` |
| 195 | pub fn graph<E>(err: E) -> Self |
| 196 | where |
| 197 | E: std::error::Error + Send + Sync + 'static, |
| 198 | { |
| 199 | Self::Graph(Box::new(err)) |
| 200 | } |
| 201 | |
| 202 | /// Create a path not found error. |
| 203 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected