File "SyntaxError.php"
Full Path: /home/jovision/public_html/wp/wp-content/plugins/woocommerce/lib/packages/GraphQL/Error/SyntaxError.php
File size: 427 bytes
MIME-type: text/x-php
Charset: utf-8
<?php declare(strict_types=1);
namespace Automattic\WooCommerce\Vendor\GraphQL\Error;
use Automattic\WooCommerce\Vendor\GraphQL\Language\Source;
class SyntaxError extends Error
{
public function __construct(Source $source, int $position, string $description)
{
parent::__construct(
"Syntax Error: {$description}",
null,
$source,
[$position]
);
}
}