PARSER_ERROR
PARSER_ERROR
Error class for PHP Sandboxes.
This class extends Exception to allow for catching PHPSandbox-specific exceptions.
__construct(string $message, int $code, \PHPParser_node $node, mixed $data, \Exception $previous)
Constructs the Error
| string | $message | The message to pass to the Error |
| int | $code | The error code to pass to the Error |
| \PHPParser_node | $node | The parser node to pass to the Error |
| mixed | $data | The error data to pass to the Error |
| \Exception | $previous | The previous exception to pass to the Error |