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

Method onError

examples/ssl_chat_server.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void onError(int error, const std::string& category, const std::string& message) override
54 {
55 std::cout << "Chat SSL session caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
56 }
57};
58
59class ChatServer : public CppServer::Asio::SSLServer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected