Creates an error response with the given message.
Defaults to status code 500 (Internal Server Error). List of cookies to set in the response.
final List<Cookie> cookies;