MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / get_code

Method get_code

include/curl_exception.h:159–161  ·  view source on GitHub ↗

* Returns the error code if there is one. Returns CURLE_OK if none has been set. */

Source from the content-addressed store, hash-verified

157 * Returns the error code if there is one. Returns CURLE_OK if none has been set.
158 */
159 inline CURLcode get_code() const {
160 return code;
161 }
162 private:
163 CURLcode code;
164 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected