Created
February 24, 2012 16:04
-
-
Save weierophinney/1901778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="code_500"> | |
<h2>Application Error</h2> | |
<p> | |
An error occurred processing this page; please try again later. | |
</p> | |
<?php | |
if (!$this->display_exceptions) { | |
echo "<p>Display exceptions is disabled</p>\n"; | |
return; | |
} | |
$exception = $this->exception; | |
if (!$exception instanceof \Exception) { | |
echo "<p>Invalid exception found</p>\n"; | |
return; | |
} | |
?> | |
<h3>Exception information:</h3> | |
<p> | |
<b>Message:</b> <?php echo $this->vars()->escape($exception->getMessage()) ?> | |
</p> | |
<h3>Stack trace:</h3> | |
<pre> | |
<?php echo $exception->getTraceAsString() ?> | |
</pre> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment