Files
farmOS-dev/vendor/jean85/pretty-package-versions/src/Exception/ProvidedPackageException.php
2024-12-10 15:08:16 +01:00

14 lines
393 B
PHP

<?php
declare(strict_types=1);
namespace Jean85\Exception;
class ProvidedPackageException extends \Exception implements VersionMissingExceptionInterface
{
public static function create(string $packageName): VersionMissingExceptionInterface
{
return new self('Cannot retrieve a version for package ' . $packageName . ' since it is provided, probably a metapackage');
}
}