src/Genesis/Network/cURL.php
public function checkForErrors()
    {
        $errNo  = curl_errno($this->curlHandle);
        $errStr = curl_error($this->curlHandle);

        if ($errNo > 0) {
            throw new \Genesis\Exceptions\ErrorNetwork($errStr, $errNo);
        }
    }
public function checkForErrors()
    {
        $errNo  = curl_errno($this->curlHandle);
        $errStr = curl_error($this->curlHandle);

        if ($errNo > 0) {
            throw new \Genesis\Exceptions\ErrorNetwork($errStr, $errNo);
        }
    }
public function checkForErrors ( ) { $ errNo = curl_errno ( $ this -> curlHandle ) ; $ errStr = curl_error ( $ this -> curlHandle ) ; if ( $ errNo > 0 ) { throw new \ Genesis \ Exceptions \ ErrorNetwork ( $ errStr , $ errNo ) ; } }
Check whether or not a cURL request is successful

@return string
@throws \Genesis\Exceptions\ErrorNetwork
Check whether or not a cURL request is successful