TaskSystem/vendor/maennchen/zipstream-php/src/Exception/StreamNotSeekableException.php
2023-07-17 09:56:51 +08:00

23 lines
427 B
PHP

<?php
declare(strict_types=1);
namespace ZipStream\Exception;
use ZipStream\Exception;
/**
* This Exception gets invoked if a non seekable stream is
* provided and zero headers are disabled.
*/
class StreamNotSeekableException extends Exception
{
/**
* @internal
*/
public function __construct()
{
parent::__construct('enableZeroHeader must be enable to add non seekable streams');
}
}