<?phpdeclare(strict_types=1);namespace Overblog\GraphQLBundle\ExpressionLanguage\Exception;use Exception;use Throwable;class EvaluatorIsNotAllowedException extends Exception{ public function __construct(string $expressionFunctionName, int $code = 0, Throwable $previous = null) { parent::__construct( "The expression function '$expressionFunctionName' cannot be used by it's evaluator.", $code, $previous ); } public function __invoke(): void { throw $this; }}