(&self, f: &mut std::fmt::Formatter)
| 72 | |
| 73 | impl std::fmt::Display for Error { |
| 74 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { |
| 75 | match self { |
| 76 | Error::ParseError(err) => write!(f, "Cannot parse parameter: {}", err), |
| 77 | Error::MissingParameters => write!(f, "Missing parameter"), |
| 78 | Error::QuestionNotFound => write!(f, "Question not found"), |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | impl Reject for Error {} |
nothing calls this directly
no outgoing calls
no test coverage detected