22 lines
353 B
PHP
22 lines
353 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace ZipStream\Exception;
|
||
|
|
||
|
use ZipStream\Exception;
|
||
|
|
||
|
/**
|
||
|
* This Exception gets invoked if a stream can't be read.
|
||
|
*/
|
||
|
class StreamNotReadableException extends Exception
|
||
|
{
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
parent::__construct('The stream could not be read.');
|
||
|
}
|
||
|
}
|