1 <h1><?php echo $this->translate('An error occurred') ?></h1>
2 <h2><?php echo $this->message ?></h2>
4 <?php if (isset($this->display_exceptions) && $this->display_exceptions): ?>
6 <?php if(isset($this->exception) && $this->exception instanceof Exception): ?>
8 <h2><?php echo $this->translate('Additional information') ?>:</h2>
9 <h3><?php echo get_class($this->exception); ?></h3>
11 <dt><?php echo $this->translate('File') ?>:</dt>
13 <pre class="prettyprint linenums"><?php echo $this->exception->getFile() ?>:<?php echo $this->exception->getLine() ?></pre>
15 <dt><?php echo $this->translate('Message') ?>:</dt>
17 <pre class="prettyprint linenums"><?php echo $this->exception->getMessage() ?></pre>
19 <dt><?php echo $this->translate('Stack trace') ?>:</dt>
21 <pre class="prettyprint linenums"><?php echo $this->exception->getTraceAsString() ?></pre>
25 $e = $this->exception->getPrevious();
29 <h2><?php echo $this->translate('Previous exceptions') ?>:</h2>
33 <h3><?php echo get_class($e); ?></h3>
35 <dt><?php echo $this->translate('File') ?>:</dt>
37 <pre class="prettyprint linenums"><?php echo $e->getFile() ?>:<?php echo $e->getLine() ?></pre>
39 <dt><?php echo $this->translate('Message') ?>:</dt>
41 <pre class="prettyprint linenums"><?php echo $e->getMessage() ?></pre>
43 <dt><?php echo $this->translate('Stack trace') ?>:</dt>
45 <pre class="prettyprint linenums"><?php echo $e->getTraceAsString() ?></pre>
49 $e = $e->getPrevious();
58 <h3><?php echo $this->translate('No Exception available') ?></h3>