PHP 7 compatibility of ErrorHandler
PHP 7 compatibility of ErrorHandler

Not all exceptions extend Exception in PHP 7. Catching exceptions and errors require catching Throwable, which is not available in PHP 5.6.
Removing the type check is the best option for now.

brick/brick