Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
PHP Fatal error: Could not check compatibility between App\Exceptions\Handler::report(App\Exceptions\Exception $exception) and Illuminate\Foundation\Exceptions\Handler::report(Throwable $e), because class App\Exceptions\Exception is not available in C:\xampp\htdocs\zear\laravel8\app\Exceptions\Handler.php on line 44
PHP Fatal error: Uncaught ReflectionException: Class App\Exceptions\Handler does not exist in C:\xampp\htdocs\zear\laravel8\vendor\laravel\framework\src\Illuminate\Container\Container.php:877
Stack trace:
4 C:\xampp\htdocs\zear\laravel8\vendor\laravel\framework\src\Illuminate\Container\Container.php(873): Illuminate\Container\Container->Illuminate\C in C:\xampp\htdocs\zear\laravel8\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 879
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255