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

Method onError

examples/ssl_chat_server.cpp:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70protected:
71 void onError(int error, const std::string& category, const std::string& message) override
72 {
73 std::cout << "Chat TCP server caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
74 }
75};
76
77int main(int argc, char** argv)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected