Skip to content

Instantly share code, notes, and snippets.

@ykitade
Created December 27, 2011 13:11
Show Gist options
  • Select an option

  • Save ykitade/1523618 to your computer and use it in GitHub Desktop.

Select an option

Save ykitade/1523618 to your computer and use it in GitHub Desktop.
<h1>An error occurred</h1>
<h2>{{ error.code }}: {{ message }}</h2>
{% if exception %}
<h3>Exception information:</h3>
<p>
<b>Message:</b> {{ exception.message }}
</p>
<h3>Stack trace:</h3>
<pre>{{ exception.getTraceAsString() }}</pre>
<h3>Request Parameters:</h3>
{% for key, val in request.getParams() %}
{{key}} => {{val}} {{', '}}
{% endfor %}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment