diff options
Diffstat (limited to 'vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php')
-rw-r--r-- | vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php b/vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php new file mode 100644 index 000000000..93d0c6c64 --- /dev/null +++ b/vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php @@ -0,0 +1,22 @@ +<?php + +declare(strict_types=1); + +namespace ZipStream\Exception; + +use ZipStream\Exception; + +/** + * This Exception gets invoked if a file wasn't found + */ +class FileNotReadableException extends Exception +{ + /** + * @internal + */ + public function __construct( + public readonly string $path + ) { + parent::__construct("The file with the path $path isn't readable."); + } +} |