1 | <?php |
||
15 | class Handler extends ExceptionHandler |
||
16 | { |
||
17 | use ApiResponse; |
||
18 | /** |
||
19 | * A list of the exception types that are not reported. |
||
20 | * |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $dontReport = [ |
||
24 | // |
||
25 | ]; |
||
26 | |||
27 | /** |
||
28 | * A list of the inputs that are never flashed for validation exceptions. |
||
29 | * |
||
30 | * @var array |
||
31 | */ |
||
32 | protected $dontFlash = [ |
||
33 | |||
34 | ]; |
||
35 | |||
36 | /** |
||
37 | * Handles all throwable exceptions. |
||
38 | * |
||
39 | * @param $request |
||
40 | * @param \Throwable $e |
||
41 | * @return \Illuminate\Support\Facades\Response |
||
42 | */ |
||
43 | public function render($request, Throwable $e) |
||
67 | } |
||
68 |