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

Method onError

tests/test_tcp.cpp:50–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 void onConnected() override { connected = true; }
49 void onDisconnected() override { disconnected = true; }
50 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }
51
52public:
53 std::atomic<bool> connected{false};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected