main
Last change
on this file since 5372778 was c454c0f, checked in by bube-ristovska <ristovska725@…>, 11 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
639 bytes
|
Rev | Line | |
---|
[c454c0f] | 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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.