Laravel 4.2 custom error handler not working <p>I am trying to handle InvalidArgumentException in a custom way. In app/start/global.php I have the following code block after the built in <code>App::error(Exception $exception... block</code>:</p> <pre><code>App::error(function(InvalidArgumentException $exception, $code){ // die('last'); $exceptionData['exception'] = $exception; $exceptionData['code'] = $code; ExceptionNotificationHandlerController::notify($exceptionData); }); </code></pre> <p>die()ing, breakpoints, etc all suggest to me that it never goes into that block of code when I throw an InvalidArgumentException. Help?</p>