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

Method onError

performance/udp_echo_client.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void onError(int error, const std::string& category, const std::string& message) override
65 {
66 std::cout << "UDP client caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
67 ++total_errors;
68 }
69
70private:
71 size_t _messages{0};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected