Created
July 18, 2017 18:29
-
-
Save Stormix/52cd0704f2b528da865a4e8aad23bd6f to your computer and use it in GitHub Desktop.
Using Whoops Error Handler
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
<?php | |
$whoops = new \Whoops\Run; | |
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); | |
$whoops->register(); | |
// Uncomment the following line to view an error page example. | |
// echo 1/0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment