| 6 | |
| 7 | #[derive(Debug)] |
| 8 | pub enum Error { |
| 9 | InvalidMath(String, String, usize), // reason, element, line |
| 10 | InvalidDvisvgm(String), |
| 11 | FileNotFound(PathBuf), |
| 12 | BinaryNotFound(which::Error), |
| 13 | UnknownFence(String), |
| 14 | InvalidImage(String), |
| 15 | Io(io::Error), |
| 16 | } |
| 17 | |
| 18 | impl fmt::Display for Error { |
| 19 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
nothing calls this directly
no outgoing calls
no test coverage detected