Your IP : 216.73.216.111


Current Path : /home/eolienneia/www/templates/yootheme/vendor/yootheme/graphql/lib/Error/
Upload File :
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]
        );
    }
}