ldc-legaulois/app/Exceptions/Handler.php
2021-09-15 16:01:51 +02:00

30 lines
621 B
PHP

<?php
namespace App\Exceptions;
use Kwaadpepper\ExceptionHandler\Exceptions\ExceptionHandler;
use Symfony\Component\Console\Exception\CommandNotFoundException;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
RedirectTo::class,
CommandNotFoundException::class
];
/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array
*/
protected $dontFlash = [
'password',
'password_confirmation',
];
}