Created
March 28, 2014 11:31
-
-
Save nWidart/9830648 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| $whoops = new Whoops\Run(); | |
| $whoops->pushHandler(new Whoops\Handler\PrettyPageHandler()); | |
| // Set Whoops as the default error and exception handler used by PHP: | |
| $whoops->register(); | |
| //throw new RuntimeException("Oopsie!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment