<?php

/*
 * This file is part of the Behat Gherkin Parser.
 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Behat\Gherkin\Exception;

final class NoSuchLanguageException extends ParserException
{
    public function __construct(public readonly string $language)
    {
        parent::__construct('Language not supported: ' . $language);
    }
}
