filp/whoops — pull request #98 by denis-sokolov (2013-10-10 12:16:41+00:00)
Title: Allow catching PHP errors

It was strange that you called handleError directly.
Just by throwing the exception it will be handled by your handler if needed, but also allows us to catch expected errors.
In absence of this feature we'll have to set_error_handler to wrap possible errors to be caught. :(