{% if count > 0 %}
        
            [{{ count - position + 1 }}/{{ count + 1 }}]
            {{ exception.class|abbr_class }}: {{ exception.message|nl2br|format_file_from_text }} 
            {% spaceless %}
            
                 
                 {% endspaceless %}
            
            {% endspaceless %}
        
    {% else %}
        Stack Trace
    {% endif %}
    
    
        {% for i, trace in exception.trace %}
            - 
                {% include '@Twig/Exception/trace.html.twig' with { 'prefix': position, 'i': i, 'trace': trace } only %}
            {% endfor %}