Commit 3fb840f3 by Carsten Brandt

updated errorhandler views doc

parent 82bdcdcb
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @var string[] $lines * @var string[] $lines
* @var integer $begin * @var integer $begin
* @var integer $end * @var integer $end
* @var \yii\base\ErrorHandler $handler * @var \yii\web\ErrorHandler $handler
*/ */
?> ?>
<li class="<?php if (!$handler->isCoreFile($file) || $index === 1) echo 'application'; ?> call-stack-item" <li class="<?php if (!$handler->isCoreFile($file) || $index === 1) echo 'application'; ?> call-stack-item"
......
<?php <?php
/** /**
* @var \Exception $exception * @var \Exception $exception
* @var \yii\base\ErrorHandler $handler * @var \yii\web\ErrorHandler $handler
*/ */
if ($exception instanceof \yii\web\HttpException) { if ($exception instanceof \yii\web\HttpException) {
$code = $exception->statusCode; $code = $exception->statusCode;
......
<?php <?php
/** /**
* @var \Exception $exception * @var \Exception $exception
* @var \yii\base\ErrorHandler $handler * @var \yii\web\ErrorHandler $handler
*/ */
?> ?>
<?php if (method_exists($this, 'beginPage')) $this->beginPage(); ?> <?php if (method_exists($this, 'beginPage')) $this->beginPage(); ?>
......
<?php <?php
/** /**
* @var \yii\base\Exception $exception * @var \yii\base\Exception $exception
* @var \yii\base\ErrorHandler $handler * @var \yii\web\ErrorHandler $handler
*/ */
?> ?>
<div class="previous"> <div class="previous">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment