Supported Versions: PHP 4 >= 4.0.3, PHP 5, PHP 7, PHP 8
Return a string containing the last error for the current session
<?php curl_error(CurlHandle $handle): string
<?php             $progress = curl_getinfo($curlHandle);

            $job = $this->jobs[$i];

            unset($this->jobs[$i]);

            $error = curl_error($curlHandle);

            $errno = curl_errno($curlHandle);

            curl_multi_remove_handle($this->multiHandle, $curlHandle);

            curl_close($curlHandle);