MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onError

Method onError

examples/http_server.cpp:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 void onError(int error, const std::string& category, const std::string& message) override
167 {
168 std::cout << "HTTP session caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
169 }
170};
171
172class HTTPCacheServer : public CppServer::HTTP::HTTPServer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected