| 8 | |
| 9 | #[derive(Debug)] |
| 10 | pub enum Error { |
| 11 | IoError(String), |
| 12 | IntParseError(String), |
| 13 | ElfParseError(String), |
| 14 | ObjectParseError(String), |
| 15 | NixError(String) |
| 16 | } |
| 17 | |
| 18 | impl From<io::Error> for Error { |
| 19 | fn from(err: io::Error) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected