lib/ChrisCollins/GeneralUtils/Curl/CurlHandle.php
public function getErrorCodeFromHandle()
    {
        $errorNumber = null;

        if ($this->handle !== null) {
            $errorNumber = curl_errno($this->handle);
        }

        return $errorNumber === 0 ? null : $errorNumber;
    }
public function getErrorCodeFromHandle()
    {
        $errorNumber = null;

        if ($this->handle !== null) {
            $errorNumber = curl_errno($this->handle);
        }

        return $errorNumber === 0 ? null : $errorNumber;
    }
public function getErrorCodeFromHandle ( ) { $ errorNumber = null ; if ( $ this -> handle !== null ) { $ errorNumber = curl_errno ( $ this -> handle ) ; } return $ errorNumber === 0 ? null : $ errorNumber ; }
Get the last error code that occurred, or null if there were no problems.

@return int|null An integer representing the last error that occurred, or null if there were no problems.
Get the last error code that occurred or null if there were no problems .