class Protocol::HTTP::Response

def self.for_exception(exception)

@parameter exception [Exception] The exception to generate the response for.

Create a response for the given exception.
def self.for_exception(exception)
	Response[500, Headers["content-type" => "text/plain"], ["#{exception.class}: #{exception.message}"]]
end