private function getError() {
        if (!curl_errno($this->curl)) return array();
        return array('error_no' => curl_errno($this->curl), 'error' => curl_error($this->curl));
    }
private function getError() {
        if (!curl_errno($this->curl)) return array();
        return array('error_no' => curl_errno($this->curl), 'error' => curl_error($this->curl));
    }
private function getError ( ) { if ( ! curl_errno ( $ this -> curl ) ) return array ( ) ; return array ( 'error_no' => curl_errno ( $ this -> curl ) , 'error' => curl_error ( $ this -> curl ) ) ; }
Returns the errors

@return array
Returns the errors