Handler.php 741 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace App\Exceptions;
  3. use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
  4. class Handler extends ExceptionHandler
  5. {
  6. /**
  7. * A list of the exception types that are not reported.
  8. *
  9. * @var array
  10. */
  11. protected $dontReport = [
  12. ];
  13. /**
  14. * A list of the inputs that are never flashed for validation exceptions.
  15. *
  16. * @var array
  17. */
  18. protected $dontFlash = [
  19. 'current_password',
  20. 'password',
  21. 'password_confirmation',
  22. ];
  23. /**
  24. * Register the exception handling callbacks for the application.
  25. *
  26. * @return void
  27. */
  28. public function register()
  29. {
  30. $this->reportable(function (\Throwable $e) {
  31. });
  32. }
  33. }