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

Method onError

examples/ssl_chat_client.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected