MCPcopy Create free account
hub / github.com/chen3feng/toft / ErrorString

Method ErrorString

system/net/domain_resolver.cpp:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166std::string DomainResolver::ErrorString(int error_code)
167{
168#ifndef _WIN32
169 return hstrerror(error_code);
170#else
171 return strerror(error_code);
172#endif
173}
174
175} // namespace toft
176

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected