Now here I would like a single routine that generates a response given an ERROR_HANDLER with has_error. It should call `as_string_representation' for the body, and use the most recent error code for the status code.

I think this probably belongs in class ERROR_HANDLER. What do you think?