class Geminabox::Server

def error_response(code, message)

def error_response(code, message)
  halt [code, message] if api_request?
  html = <<HTML
l>
ead><title>Error - #{code}</title></head>
ody>
<h1>Error - #{code}</h1>
<p>#{message}</p>
body>
ml>

  halt [code, html]
end