src/Guzzle/Http/Curl/CurlHandle.php
public function getErrorNo()
    {
        if ($this->errorNo) {
            return $this->errorNo;
        }

        return $this->isAvailable() ? curl_errno($this->handle) : CURLE_OK;
    }
public function getErrorNo()
    {
        if ($this->errorNo) {
            return $this->errorNo;
        }

        return $this->isAvailable() ? curl_errno($this->handle) : CURLE_OK;
    }
public function getErrorNo ( ) { if ( $ this -> errorNo ) { return $ this -> errorNo ; } return $ this -> isAvailable ( ) ? curl_errno ( $ this -> handle ) : CURLE_OK ; }
Get the last error number that occurred on the cURL handle

@return int
Get the last error number that occurred on the cURL handle