10 <header
class=
"header">
11 <img
class=
"logo" src=
"<?= $this->basePath() ?>/pub/images/magento-icon.svg" alt=
"Magento"/>
12 <h1
class=
"header-title">An error occurred</h1>
15 <h2><?= $this->message ?></h2>
17 <?php
if ( isset( $this->display_exceptions ) && $this->display_exceptions ): ?>
19 <?php
if ( isset( $this->exception ) && $this->exception instanceof Exception ): ?>
21 <h2>Additional information:</h2>
22 <h3><?= get_class( $this->exception ) ?></h3>
26 <pre
class=
"prettyprint linenums"><?= $this->exception->getFile() ?>:<?= $this->exception->getLine() ?></pre>
31 <pre
class=
"prettyprint linenums"><?= $this->escapeHtml( $this->exception->getMessage() ) ?></pre>
36 <pre
class=
"prettyprint linenums"><?= $this->escapeHtml( $this->exception->getTraceAsString() ) ?></pre>
40 $e = $this->exception->getPrevious();
44 <h2>Previous exceptions:</h2>
46 <?php
while ( $e ) : ?>
48 <h3><?= get_class( $e ) ?></h3>
52 <pre
class=
"prettyprint linenums"><?= $e->getFile() ?>:<?= $e->getLine() ?></pre>
57 <pre
class=
"prettyprint linenums"><?= $this->escapeHtml( $e->getMessage() ) ?></pre>
62 <pre
class=
"prettyprint linenums"><?= $this->escapeHtml( $e->getTraceAsString() ) ?></pre>
67 $e = $e->getPrevious();
75 <h3>No Exception available</h3>