React\HttpClient\Response::handleError PHP 메소드

handleError() 공개 메소드

public handleError ( Exception $error )
$error Exception
    public function handleError(\Exception $error)
    {
        $this->emit('error', array(new \RuntimeException("An error occurred in the underlying stream", 0, $error), $this));
        $this->close($error);
    }