| 1 | <?php |
||
| 13 | class ExceptionHandler implements \Illuminate\Contracts\Debug\ExceptionHandler |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * DaemonExceptionHandler constructor. |
||
| 17 | */ |
||
| 18 | public function __construct() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Report or log an exception. |
||
| 26 | * |
||
| 27 | * @param \Exception $e |
||
| 28 | */ |
||
| 29 | public function report(Exception $e) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Render an exception into an HTTP response. |
||
| 36 | * |
||
| 37 | * @param \HttpRequest $request |
||
| 38 | * @param \Exception $e |
||
| 39 | */ |
||
| 40 | public function render($request, Exception $e) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Render an exception to the console. |
||
| 47 | * |
||
| 48 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
| 49 | * @param \Exception $e |
||
| 50 | */ |
||
| 51 | public function renderForConsole($output, Exception $e) |
||
| 55 | } |
||
| 56 |