2020-11-18 10:23:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Exceptions;
|
|
|
|
|
|
2021-09-21 09:57:42 +02:00
|
|
|
use Kwaadpepper\ExceptionHandler\Exceptions\ExceptionHandler;
|
2020-11-18 10:23:51 +01:00
|
|
|
|
|
|
|
|
class Handler extends ExceptionHandler
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* A list of the exception types that are not reported.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $dontReport = [
|
2022-03-29 16:57:54 +02:00
|
|
|
];
|
2020-11-18 10:23:51 +01:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A list of the inputs that are never flashed for validation exceptions.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $dontFlash = [
|
|
|
|
|
'password',
|
|
|
|
|
'password_confirmation',
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Register the exception handling callbacks for the application.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function register()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|