(&self, f: &mut std::fmt::Formatter)
| 14 | |
| 15 | impl std::fmt::Display for Error { |
| 16 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { |
| 17 | match self { |
| 18 | Error::ParseError(err) => write!(f, "Cannot parse parameter: {}", err), |
| 19 | Error::MissingParameters => write!(f, "Missing parameter"), |
| 20 | Error::QuestionNotFound => write!(f, "Question not found"), |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | impl Reject for Error {} |
nothing calls this directly
no outgoing calls
no test coverage detected