Property | Type | Description | |
---|---|---|---|
$data | The data of the Error | ||
$node | The node of the Error |
Method | Description | |
---|---|---|
__construct ( string $message = '', integer $code, PhpParser\Node $node = null, mixed $data = null, Exception $previous = null ) | Constructs the Error | |
getData ( ) : mixed | Returns data of the Error | |
getNode ( ) : PhpParser\Node | null | Returns parser node of the Error |
public __construct ( string $message = '', integer $code, PhpParser\Node $node = null, mixed $data = null, Exception $previous = null ) | ||
$message | string | The message to pass to the Error |
$code | integer | The error code to pass to the Error |
$node | PhpParser\Node | The parser node to pass to the Error |
$data | mixed | The error data to pass to the Error |
$previous | Exception | The previous exception to pass to the Error |