12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
-
- namespace App\Exceptions;
-
- use Exception;
- use Luticate\Utils\LuHandler;
- use Symfony\Component\HttpKernel\Exception\HttpException;
- use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;
-
- class Handler extends ExceptionHandler
- {
-
-
- protected $dontReport = [
- HttpException::class,
- ];
-
-
-
- public function report(Exception $e)
- {
- return parent::report($e);
- }
-
-
-
- public function render($request, Exception $e)
- {
- $handler = new LuHandler();
- return $handler->render($request, $e);
- }
- }
|