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

Method curl_easy_exception

include/curl_exception.h:147–148  ·  view source on GitHub ↗

* This constructor allows to specify a custom error message and the method name where * the exception has been thrown. */

Source from the content-addressed store, hash-verified

145 * the exception has been thrown.
146 */
147 curl_easy_exception(const std::string &error, const std::string &method) :
148 curl_exception(error,method), code(CURLE_OK) {}
149
150 /**
151 * The constructor will transform a CURLcode error in a proper error message.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected