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

Method onError

examples/udp_echo_client.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 void onError(int error, const std::string& category, const std::string& message) override
60 {
61 std::cout << "Echo UDP client caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
62 }
63
64private:
65 std::atomic<bool> _stop{false};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected