Smarter error handling for Laravel 4