lucadegasperi/oauth2-server-laravel — pull request #195 by sebmak (2014-10-13 23:41:16+00:00)
Title: Updated the error handler to work with the latest version of Laravel 5.0

Loaded this into the freshest Laravel 5.0 and it gave me an error about App::error() not found. Therefore had to figure it out. This is how events are registered in the newest release. Not sure if it is the best way to do it.