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

Method onError

examples/asio_timer.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 void onError(int error, const std::string& category, const std::string& message) override
28 {
29 std::cout << "Asio timer caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
30 }
31};
32
33int main(int argc, char** argv)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected