{% if count > 0 %}

{{ count - position + 1 }}/{{ count + 1 }} {{ exception.class|abbr_class }}: {{ exception.message|replace({ "\n": '
' }) }} »

{% else %}

Stack Trace

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