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

Method onError

performance/ws_echo_server.cpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46protected:
47 void onError(int error, const std::string& category, const std::string& message) override
48 {
49 std::cout << "WebSocket server caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
50 }
51};
52
53int main(int argc, char** argv)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected