| 1 | <?php  | 
            ||
| 22 | class StreamErrorException extends ProtocolException  | 
            ||
| 23 | { | 
            ||
| 24 | /**  | 
            ||
| 25 | * @var Error  | 
            ||
| 26 | */  | 
            ||
| 27 | private $_error;  | 
            ||
| 28 | |||
| 29 | public function getError() : Error  | 
            ||
| 33 | |||
| 34 | public function __construct(Error $error, $message = null, $code = 0, Exception $previous = null)  | 
            ||
| 39 | |||
| 40 | private function generateMessage(Error $error) : string  | 
            ||
| 44 | }  | 
            ||
| 45 |