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

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

        return $errorMessage === '' ? null : $errorMessage;
    }
public function getErrorMessageFromHandle()
    {
        $errorMessage = null;

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

        return $errorMessage === '' ? null : $errorMessage;
    }
public function getErrorMessageFromHandle ( ) { $ errorMessage = null ; if ( $ this -> handle !== null ) { $ errorMessage = curl_errno ( $ this -> handle ) ; } return $ errorMessage === '' ? null : $ errorMessage ; }
Get the message for the last error that occurred, or null if there were no problems.

@return string|null An error message, or null if there was no error.
Get the message for the last error that occurred or null if there were no problems .