MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / statusCodeErrorStr

Function statusCodeErrorStr

src/curl_wrapper.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40string statusCodeErrorStr(int code) {
41 stringstream ss;
42 ss << "http status code was '" << code << "', wanted 200 OK";
43 return ss.str();
44}
45
46struct CurlWrapperImpl : public CurlWrapper {
47 CurlWrapperImpl(CURL* h) : handle(h) {

Callers 2

fetchURLMethod · 0.85
fetchURLMethod · 0.85

Calls 1

strMethod · 0.80

Tested by

no test coverage detected