| Current Path : /home/eolienneia/www/templates/yootheme/vendor/yootheme/graphql/lib/Error/ |
| Current File : /home/eolienneia/www/templates/yootheme/vendor/yootheme/graphql/lib/Error/SyntaxError.php |
<?php
namespace YOOtheme\GraphQL\Error;
use YOOtheme\GraphQL\Language\Source;
class SyntaxError extends Error
{
/**
* @param Source $source
* @param int $position
* @param string $description
*/
public function __construct(Source $source, $position, $description)
{
parent::__construct(
"Syntax Error: $description",
null,
$source,
[$position]
);
}
}