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

Method onError

tests/test_http.cpp:183–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181
182protected:
183 void onError(int error, const std::string& category, const std::string& message) override
184 {
185 std::cout << "HTTP server caught an error with code " << error << " and category '" << category << "': " << message << std::endl;
186 FAIL();
187 }
188};
189
190TEST_CASE("HTTP server & client test", "[CppServer][HTTP]")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected