diff options
Diffstat (limited to 'vendor/maennchen/zipstream-php/src/Exception/OverflowException.php')
-rw-r--r-- | vendor/maennchen/zipstream-php/src/Exception/OverflowException.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/maennchen/zipstream-php/src/Exception/OverflowException.php b/vendor/maennchen/zipstream-php/src/Exception/OverflowException.php new file mode 100644 index 000000000..09bdafb28 --- /dev/null +++ b/vendor/maennchen/zipstream-php/src/Exception/OverflowException.php @@ -0,0 +1,21 @@ +<?php + +declare(strict_types=1); + +namespace ZipStream\Exception; + +use ZipStream\Exception; + +/** + * This Exception gets invoked if a counter value exceeds storage size + */ +class OverflowException extends Exception +{ + /** + * @internal + */ + public function __construct() + { + parent::__construct('File size exceeds limit of 32 bit integer. Please enable "zip64" option.'); + } +} |