pub fn error_message(status: StatusCode, error: &dyn Display) -> String
What an error response says: the error itself, unless it’s internal (a 500), which is logged and not shown.