beginPage(); ?> <?php if ($exception instanceof \yii\web\HttpException) { echo (int) $exception->statusCode . ' ' . $handler->htmlEncode($exception->getName()); } elseif ($exception instanceof \yii\base\Exception) { echo $handler->htmlEncode($exception->getName() . ' – ' . get_class($exception)); } else { echo $handler->htmlEncode(get_class($exception)); } ?>
Gears

htmlEncode($exception->getName()) ?>addTypeLinks(get_class($exception)) ?>

Attention

' . $handler->createHttpStatusLink($exception->statusCode, $handler->htmlEncode($exception->getName())) . ''; echo ' – ' . $handler->addTypeLinks(get_class($exception)); } elseif ($exception instanceof \yii\base\Exception) { echo '' . $handler->htmlEncode($exception->getName()) . ''; echo ' – ' . $handler->addTypeLinks(get_class($exception)); } else { echo '' . $handler->htmlEncode(get_class($exception)) . ''; } ?>

htmlEncode($exception->getMessage())) ?>

errorInfo, true) ?>
renderPreviousExceptions($exception) ?>
renderRequest() ?>
endBody(); // to allow injecting code into body (mostly by Yii Debug Toolbar) ?> endPage(); ?>