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.
21 lines
797 B
21 lines
797 B
<?php |
|
/** |
|
* @var \yii\base\Exception $exception |
|
* @var \yii\base\ErrorHandler $handler |
|
*/ |
|
?> |
|
<div class="previous"> |
|
<span class="arrow">↵</span> |
|
<h2> |
|
<span>Caused by:</span> |
|
<?php if ($exception instanceof \yii\base\Exception): ?> |
|
<span><?php echo $handler->htmlEncode($exception->getName()); ?></span> – |
|
<?php echo $handler->addTypeLinks(get_class($exception)); ?> |
|
<?php else: ?> |
|
<span><?php echo $handler->htmlEncode(get_class($exception)); ?></span> |
|
<?php endif; ?> |
|
</h2> |
|
<h3><?php echo $handler->htmlEncode($exception->getMessage()); ?></h3> |
|
<p>in <span class="file"><?php echo $exception->getFile(); ?></span> at line <span class="line"><?php echo $exception->getLine(); ?></span></p> |
|
<?php echo $handler->renderPreviousExceptions($exception); ?> |
|
</div>
|
|
|