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

Method onError

performance/proto_client.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void onError(int error, const std::string& category, const std::string& message) override
82 {
83 std::cout << "TCP client caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
84 ++total_errors;
85 }
86
87protected:
88 // Protocol handlers

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected