| Current Path : /home/rtorresani/www/vendor/codeception/lib-web/src/Exception/ |
| Current File : //home/rtorresani/www/vendor/codeception/lib-web/src/Exception/MalformedLocatorException.php |
<?php
declare(strict_types=1);
namespace Codeception\Exception;
use function ucfirst;
class MalformedLocatorException extends \RuntimeException
{
public function __construct(string $locator, string $type = 'CSS or XPath')
{
parent::__construct(ucfirst($type) . " locator is malformed: {$locator}");
}
}