{% extends "base.html" %} {% block title %}{{ error_info.title if error_info else error.code }} {{ error.name }} - {{ app_name }}{% endblock %} {% block content %}

{{ error.code }} {{ error.name }}

{{ error_info.title if error_info else error.name }}

{{ error_info.message if error_info else (error.description if error.description else _('An error occurred while processing your request.')) }}

{% if error_info and error_info.recovery %} {% for action in error_info.recovery %} {% if 'Dashboard' in action %} {{ _('Go to Dashboard') }} {% elif 'Back' in action %} {% elif 'Refresh' in action %} {% elif 'Login' in action %} {{ _('Go to Login') }} {% endif %} {% endfor %} {% else %} {{ _('Go to Dashboard') }} {% endif %}
{% endblock %}