private function checkForError(){
        $curlErrNo = curl_errno($this->CurlRequest);
        if ($curlErrNo !== CURLE_OK) {
            $this->error = TRUE;
            $this->CurlError = array(
                'error' => $curlErrNo,
                'error_message' => curl_error($this->CurlRequest)
            );
        }
    }
private function checkForError(){
        $curlErrNo = curl_errno($this->CurlRequest);
        if ($curlErrNo !== CURLE_OK) {
            $this->error = TRUE;
            $this->CurlError = array(
                'error' => $curlErrNo,
                'error_message' => curl_error($this->CurlRequest)
            );
        }
    }
private function checkForError ( ) { $ curlErrNo = curl_errno ( $ this -> CurlRequest ) ; if ( $ curlErrNo !== CURLE_OK ) { $ this -> error = TRUE ; $ this -> CurlError = array ( 'error' => $ curlErrNo , 'error_message' => curl_error ( $ this -> CurlRequest ) ) ; } }
Check cURL Resource for Errors and add them to CurlError property if so
Check cURL Resource for Errors and add them to CurlError property if so