<?php

/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */

use yii\helpers\Html;
use yii\helpers\Url;

$this->title = $name;


?>

<div class="middle-box text-center animated bounceIn">
    <h3 class="font-bold"><?= Html::encode($this->title) ?></h5>
    <div class="error-desc">
        <?= nl2br(Html::encode($message)) ?>
        <br/><a href="<?= Url::to(['site/index', 'lang' => Yii::$app->language])?>" class="btn btn-primary m-t"><?=\Yii::t('inspinia', 'To start')?></a>
    </div>
</div>