diff options
Diffstat (limited to 'vendor/maennchen/zipstream-php/src/Exception/StreamNotSeekableException.php')
-rw-r--r-- | vendor/maennchen/zipstream-php/src/Exception/StreamNotSeekableException.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/maennchen/zipstream-php/src/Exception/StreamNotSeekableException.php b/vendor/maennchen/zipstream-php/src/Exception/StreamNotSeekableException.php new file mode 100644 index 000000000..606f11f14 --- /dev/null +++ b/vendor/maennchen/zipstream-php/src/Exception/StreamNotSeekableException.php @@ -0,0 +1,22 @@ +<?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'); + } +} |