error.php 493 Bytes
Newer Older
Qiang Xue committed
1 2 3 4 5
<?php

use yii\helpers\Html;

/**
Alexander Makarov committed
6
 * @var yii\web\View $this
Qiang Xue committed
7 8 9 10 11 12 13 14 15
 * @var string $name
 * @var string $message
 * @var Exception $exception
 */

$this->title = $name;
?>
<div class="site-error">

Alexander Makarov committed
16
	<h1><?= Html::encode($this->title) ?></h1>
Qiang Xue committed
17 18

	<div class="alert alert-danger">
Alexander Makarov committed
19
		<?= nl2br(Html::encode($message)) ?>
Qiang Xue committed
20 21 22 23 24 25 26 27 28 29
	</div>

	<p>
		The above error occurred while the Web server was processing your request.
	</p>
	<p>
		Please contact us if you think this is a server error. Thank you.
	</p>

</div>