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

Method onError

performance/proto_server.cpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23protected:
24 void onError(int error, const std::string& category, const std::string& message) override
25 {
26 std::cout << "Protocol session caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
27 }
28
29protected:
30 // Protocol handlers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected