{% extends "_layout.html" %} {% block title %}{{ status }}: {{ error }}{% endblock %} {% block content %}
{{ error }}!
{{ exception.description | safe }}
{%- elif status == 499 %}{{ _('The query was canceled.') }}
{%- elif status == 400 %} {%- if message %}{{ message | safe }}
{%- else %}{{ _('It seems you have done something naughty.') }}
{%- endif %} {%- elif status == 403 %} {%- if message %}{{ message | safe }}
{%- else %}{{ _('It seems you do not have sufficient permissions to access this resource.') }}
{%- endif %} {%- elif status == 404 %}{{ _('We have looked hard, really really hard, but what you were looking for is just not there.') }}
{%- elif status == 405 %}{{ _('You have used HTTP method that is not valid for this URL.') }}
{%- elif status == 410 %}{{ _('What you were looking for is just not there anymore, it is gone forever.') }}
{%- elif status == 500 %}{{ _('We are sorry, but something on our side of the line went terribly wrong. Please try again later.') }}
{%- else %} {%- if message %}{{ message }}
{%- else %}{{ _('We are sorry, but something went wrong. Please try again later.') }}
{%- endif %} {%- endif %} {%- if retry_url is defined %}{{ _('You can retry') }} {{ _('here.') }}
{%- endif %}