1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- namespace App\Exceptions;
- use Exception;
- use Illuminate\Auth\Access\AuthorizationException;
- use Illuminate\Database\Eloquent\ModelNotFoundException;
- use Illuminate\Validation\ValidationException;
- use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;
- use Symfony\Component\HttpKernel\Exception\HttpException;
- class Handler extends ExceptionHandler
- {
-
- protected $dontReport = [
- AuthorizationException::class,
- HttpException::class,
- ModelNotFoundException::class,
- ValidationException::class,
- ];
-
- public function report(Exception $exception)
- {
- parent::report($exception);
- }
-
- public function render($request, Exception $exception)
- {
- return parent::render($request, $exception);
- }
- }
|