| 65 | |
| 66 | #[derive(Debug)] |
| 67 | enum Error { |
| 68 | ParseError(std::num::ParseIntError), |
| 69 | MissingParameters, |
| 70 | QuestionNotFound, |
| 71 | } |
| 72 | |
| 73 | impl std::fmt::Display for Error { |
| 74 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { |
nothing calls this directly
no outgoing calls
no test coverage detected