20 lines
492 B
PHP
20 lines
492 B
PHP
<?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);
|
|
}
|
|
}
|