| 1 | #include <coeurl/errors.hpp> |
| 2 | |
| 3 | const char *coeurl::to_string(CURLcode c) { return curl_easy_strerror(c); } |
| 4 | |
| 5 | // const char* coeurl::to_string(CURLUcode c) { |
| 6 | // return curl_url_strerror(c); |
| 7 | // } |
| 8 | |
| 9 | const char *coeurl::to_string(CURLMcode c) { return curl_multi_strerror(c); } |
| 10 | |
| 11 | const char *coeurl::to_string(CURLSHcode c) { return curl_share_strerror(c); } |