<?=
$class; ?>
</h3>
<?php
} ?>
<?php
if ($exception['message'
] &&
$index > 1
) { ?>
<p class="break-long-words trace-message"><?=
$this->
escape($exception['message'
]); ?></p>
<?php
} ?>
</div>
<?php
if (\
count($exception['data'
] ??
[])) { ?>
<details class="exception-properties-wrapper">
<summary>Show exception properties</summary>
<div class="exception-properties">
<?=
$this->
dumpValue($exception['data'
]) ?>
</div>
</details>
<?php
} ?>
</div>
<div id="trace-html-<?=
$index; ?>" class="sf-toggle-content">
<?php
$isFirstUserCode = true;
foreach ($exception['trace'
] as $i =>
$trace) { $isVendorTrace =
$trace['file'
] && (str_contains($trace['file'
], '/vendor/'
) ||
str_contains($trace['file'
], '/var/cache/'
));
$displayCodeSnippet =
$isFirstUserCode && !
$isVendorTrace;