for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* Lupin package.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
*/
namespace GpsLab\Component\Sitemap\Stream\Exception;
final class IndexStreamException extends \RuntimeException
{
* @param string $filename
* @return self
public static function undefinedSubstreamFile(string $filename): self
return new self(sprintf('Substream file "%s" not exists or not readable.', $filename));
}
* @param string $source
* @param string $target
public static function failedRename(string $source, string $target): self
return new self(sprintf('Failed rename sitemap file "%s" to "%s".', $source, $target));