title: Yii2, Module error page is not show but it show blank page when error 404
body: <p>I have tried write my own <code>actionError</code> in the module <code>DefaultController</code> that just to render error page(HTML only for testing), it also just shows the blank page instead to show the error page. </p>
  
  <p>Am I do the correct way below? It also shows blank page only when i try to access non-exist page within the module path.</p>
  
  <p>In my module class, I have configured the <code>errorHandler</code> components within <code>init()</code> function as below:</p>
  
  <pre><code>public function init()   
  {   
      parent::init();   
      // initialize the module with the configuration loaded from config.php   
      \Yii::configure($this, require(__DIR__ . '/config.php'));   
  
      \Yii::$app-&gt;setComponents([
          'errorHandler' =&gt; [
              'class' =&gt; 'yii\web\ErrorHandler',
              'errorAction' =&gt; 'studconsult/default/error',
          ] // set error action route - this to be error action in DefaultController
      ]);             
  }
  </code></pre>
  
  <p>In my <code>DefaultController</code> class, I have codes below:</p>
  
  <pre><code>public function actions()   
  {    
      return [    
          'error' =&gt; [    
              'class' =&gt; 'yii\web\ErrorAction',    
          ],    
      ];    
  }
  </code></pre>