| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | public function __construct(string $message = "", int $code = 0, \Throwable $previous = null) |
||
| 8 | { |
||
| 9 | parent::__construct($message, $code, $previous); |
||
| 10 | |||
| 11 | $this->errorLog( |
||
| 12 | "Uncaught Error: " . $this->getMessage() . " in " . $this->getFile() . ":" . $this->getLine() . "\n" |
||
| 13 | . "Stack trace:\n" . $this->getTraceAsString() . "\n" |
||
| 14 | . " thrown in " . $this->getFile() . " on line " . $this->getLine() |
||
| 15 | ); |
||
| 23 | } |