Server IP : 162.213.251.212 / Your IP : 18.191.156.76 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/allssztx/public_html/easybuyer/vendor/facade/ignition/src/ErrorPage/ |
Upload File : |
<?php namespace Facade\Ignition\ErrorPage; use Error; use ErrorException; use Whoops\Handler\Handler; class IgnitionWhoopsHandler extends Handler { /** @var \Facade\Ignition\ErrorPage\ErrorPageHandler */ protected $errorPageHandler; /** @var \Throwable */ protected $exception; public function __construct(ErrorPageHandler $errorPageHandler) { $this->errorPageHandler = $errorPageHandler; } public function handle(): ?int { try { $this->errorPageHandler->handle($this->exception); } catch (Error $error) { // Errors aren't caught by Whoops. // Convert the error to an exception and throw again. throw new ErrorException( $error->getMessage(), $error->getCode(), 1, $error->getFile(), $error->getLine(), $error ); } return Handler::QUIT; } /** @param \Throwable $exception */ public function setException($exception): void { $this->exception = $exception; } }