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