Automattic\WooCommerce\Vendor\GraphQL\Error
SyntaxError{}└─ Error
No Hooks.
Usage
$SyntaxError = new SyntaxError(); // use class methods
Methods
SyntaxError{} SyntaxError{} code WC 10.9.4
class SyntaxError extends Error
{
public function __construct(Source $source, int $position, string $description)
{
parent::__construct(
"Syntax Error: {$description}",
null,
$source,
[$position]
);
}
}