Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
27 | public function handle(Isolate $isolate, Context $context, Throwable $throwable) |
||
28 | { |
||
29 | $message = 'An internal error occurred: ' . get_class($throwable) . ': ' . $throwable->getMessage() . PHP_EOL . $throwable->getTraceAsString(); |
||
30 | |||
31 | throw new NativeException($message, 0, $throwable); |
||
32 | } |
||
33 | } |
||
34 |