3 namespace App\Exceptions;
5 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
8 class Handler extends ExceptionHandler
11 * A list of the exception types that are not reported.
13 * @var array<int, class-string<Throwable>>
15 protected $dontReport = [
20 * A list of the inputs that are never flashed for validation exceptions.
22 * @var array<int, string>
24 protected $dontFlash = [
27 'password_confirmation',
31 * Register the exception handling callbacks for the application.
35 public function register()
37 $this->reportable(function (Throwable $e) {