home-erp

git clone git://archive.git.mtrnord.blog/MTRNord/home-erp.git
Log | Files | Refs | README

Handler.php (639B)


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