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

Method onError

performance/ssl_echo_client.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected