curl_errno

Supported Versions: PHP 4 >= 4.0.3, PHP 5, PHP 7, PHP 8
Return the last error number
<?php curl_errno(CurlHandle $handle): int
<?php             $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);
<?php         });



        curl_exec($this->curlHandleNext);

        if (curl_errno($this->curlHandleNext) > 0) {

            $message = curl_error($this->curlHandleNext);

            $this->closeCurlHandleNext();

            throw new Exception('Failed to fetch next Lambda invocation: ' . $message);
<?php             'Content-Length: ' . strlen($jsonData),

        ]);

        curl_exec($this->curlHandleResult);

        if (curl_errno($this->curlHandleResult) > 0) {

            $errorMessage = curl_error($this->curlHandleResult);

            $this->closeCurlHandleResult();

            throw new Exception('Error while calling the Lambda runtime API: ' . $errorMessage);