<?php

declare (strict_types=1);
namespace PoP\GraphQLParser\Exception;

use PoP\GraphQLParser\ExtendedSpec\Parser\Ast\ArgumentValue\RuntimeVariableReferenceInterface;
use PoP\Root\Feedback\FeedbackItemResolution;
/** @internal */
final class RuntimeVariableReferenceException extends \PoP\GraphQLParser\Exception\AbstractValueResolutionPromiseException
{
    public function __construct(FeedbackItemResolution $feedbackItemResolution, private readonly RuntimeVariableReferenceInterface $runtimeVariableReference)
    {
        parent::__construct($feedbackItemResolution, $runtimeVariableReference);
    }
    public function getRuntimeVariableReference() : RuntimeVariableReferenceInterface
    {
        return $this->runtimeVariableReference;
    }
}
