{% if count > 0 %}

[{{ count - position + 1 }}/{{ count + 1 }}] {{ exception.class|abbr_class }}: {{ exception.message|nl2br|format_file_from_text }}  {% spaceless %} - + {% endspaceless %}

{% else %}

Stack Trace

{% endif %}
    {% for i, trace in exception.trace %}
  1. {% include '@Twig/Exception/trace.html.twig' with { 'prefix': position, 'i': i, 'trace': trace } only %}
  2. {% endfor %}