public static function throwMultiError($code)
    {
        $buffer = function_exists('curl_multi_strerror')
            ? curl_multi_strerror($code)
            : self::ERROR_STR;

        throw new AdapterException(sprintf('cURL error %s: %s', $code, $buffer));
    }
public static function throwMultiError($code)
    {
        $buffer = function_exists('curl_multi_strerror')
            ? curl_multi_strerror($code)
            : self::ERROR_STR;

        throw new AdapterException(sprintf('cURL error %s: %s', $code, $buffer));
    }
public static function throwMultiError ( $ code ) { $ buffer = function_exists ( 'curl_multi_strerror' ) ? curl_multi_strerror ( $ code ) : self :: ERROR_STR ; throw new AdapterException ( sprintf ( 'cURL error %s: %s' , $ code , $ buffer ) ) ; }
Throw an exception for a cURL multi response

@param int $code Curl response code
@throws AdapterException
Throw an exception for a cURL multi response