- {% if exception.trace|length %}
- {{ exception.class }}:
- {% if exception.message is not empty %}
-     {{- exception.message }}
- {% endif %}
- {% for trace in exception.trace %}
-   {{ include('@Twig/Exception/trace.txt.twig', { trace: trace }, with_context = false) }}
- {% endfor %}
- {% endif %}