2016-08-28 10:05:21 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Exceptions;
|
|
|
|
|
|
|
|
use Exception;
|
2018-07-11 16:06:10 +08:00
|
|
|
use Illuminate\Validation\ValidationException;
|
2016-08-28 10:05:21 +08:00
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
|
|
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
|
|
|
|
|
|
|
class Handler extends ExceptionHandler
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* A list of the exception types that should not be reported.
|
|
|
|
*/
|
|
|
|
protected $dontReport = [
|
|
|
|
HttpException::class,
|
2016-09-30 23:21:04 +08:00
|
|
|
ValidationException::class,
|
2016-11-18 16:46:58 +08:00
|
|
|
PrettyPageException::class,
|
2016-08-28 10:05:21 +08:00
|
|
|
];
|
|
|
|
}
|