return error in event listeners laravel code example Example: laravel event listener php artisan event:generate