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

Method onError

performance/tcp_echo_server.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45protected:
46 void onError(int error, const std::string& category, const std::string& message) override
47 {
48 std::cout << "TCP server caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
49 }
50};
51
52int main(int argc, char** argv)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected