src/net/http/CurlHttpClient.php
protected static function getError($hCurl) {
        $errorNo  = curl_errno($hCurl);
        $errorStr = curl_error($hCurl);

        if (isset(self::$errors[$errorNo])) {
            $errorNo = self::$errors[$errorNo];
        }
        else {
            Logger::log('Unknown CURL error code: '.$errorNo, L_WARN);
        }

        return $errorNo.' ('.$errorStr.')';
    }
protected static function getError($hCurl) {
        $errorNo  = curl_errno($hCurl);
        $errorStr = curl_error($hCurl);

        if (isset(self::$errors[$errorNo])) {
            $errorNo = self::$errors[$errorNo];
        }
        else {
            Logger::log('Unknown CURL error code: '.$errorNo, L_WARN);
        }

        return $errorNo.' ('.$errorStr.')';
    }
protected static function getError ( $ hCurl ) { $ errorNo = curl_errno ( $ hCurl ) ; $ errorStr = curl_error ( $ hCurl ) ; if ( isset ( self :: $ errors [ $ errorNo ] ) ) { $ errorNo = self :: $ errors [ $ errorNo ] ; } else { Logger :: log ( 'Unknown CURL error code: ' . $ errorNo , L_WARN ) ; } return $ errorNo . ' (' . $ errorStr . ')' ; }
Gibt eine Beschreibung des letzten CURL-Fehlers zurueck.

@param  resource $hCurl - CURL-Handle

@return string
Gibt eine Beschreibung des letzten CURL - Fehlers zurueck .