Create an I/O error. # Arguments `err` - The underlying I/O error # Example ```rust use atomic_core::output::repo::OutputError; let err = OutputError::io(std::io::Error::new( std::io::ErrorKind::PermissionDenied, "access denied" )); assert!(err.to_string().contains("I/O error")); ```
(err: std::io::Error)
| 124 | /// assert!(err.to_string().contains("I/O error")); |
| 125 | /// ``` |
| 126 | pub fn io(err: std::io::Error) -> Self { |
| 127 | Self::Io(err) |
| 128 | } |
| 129 | |
| 130 | /// Create a working copy error. |
| 131 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected