PARSER_ERROR
PARSER_ERROR
Error class for PHP Sandboxes.
This class extends Exception to allow for catching PHPSandbox-specific exceptions.
__construct(string $message = '', integer $code, \PhpParser\Node $node = null, mixed $data = null, \Exception $previous = null)
Constructs the Error
string | $message | The message to pass to the Error |
integer | $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 |