<section class="content">
  <div class="row">
    <div class="col-md-2"></div>
    <div class="col-md-8">
      <h1>ERROR: <strong><?=$this->message;?></strong></h1>
      <div <?php if(APPLICATION_ENV == 'production'){ echo 'style="display:none"';}?>>
        <h3>Exception information:</h3>
        <p><b>Message:</b> <?php echo $this->exception->getMessage(); ?></p>
        <h3>Stack trace:</h3>
        <pre><?php echo $this->exception->getTraceAsString(); ?></pre>
        <h3>Request Parameters:</h3>
        <pre><?php var_export($this->request->getParams()); ?></pre>
      </div>
    </div>
    <div class="col-md-2"></div>
  </div>
</section>
