Error page

The original theme has many different error page templates. Here we provide a single view for all errors. Just set the next view file for ErrorAction. It looks like

Code

public function actions()
{
    return [
        'error' => [
            'class' => 'yii\web\ErrorAction',
            'view' => '@yiister/gentelella/views/error',
        ],
    ];
}