You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
748 B
22 lines
748 B
12 years ago
|
<?php
|
||
|
/**
|
||
|
* @var \yii\base\Exception $exception
|
||
11 years ago
|
* @var \yii\base\ErrorHandler $handler
|
||
12 years ago
|
*/
|
||
|
?>
|
||
12 years ago
|
<div class="previous">
|
||
12 years ago
|
<span class="arrow">↵</span>
|
||
|
<h2>
|
||
|
<span>Caused by:</span>
|
||
|
<?php if ($exception instanceof \yii\base\Exception): ?>
|
||
11 years ago
|
<span><?= $handler->htmlEncode($exception->getName()) ?></span> –
|
||
|
<?= $handler->addTypeLinks(get_class($exception)) ?>
|
||
12 years ago
|
<?php else: ?>
|
||
11 years ago
|
<span><?= $handler->htmlEncode(get_class($exception)) ?></span>
|
||
12 years ago
|
<?php endif; ?>
|
||
|
</h2>
|
||
11 years ago
|
<h3><?= nl2br($handler->htmlEncode($exception->getMessage())) ?></h3>
|
||
11 years ago
|
<p>in <span class="file"><?= $exception->getFile() ?></span> at line <span class="line"><?= $exception->getLine() ?></span></p>
|
||
|
<?= $handler->renderPreviousExceptions($exception) ?>
|
||
12 years ago
|
</div>
|