MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / createNetworkErrorResult

Method createNetworkErrorResult

tests/utils/mock_openai_client.cpp:160–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160GenerateResult NetworkFailureSimulator::createNetworkErrorResult(
161 FailureType type) {
162 return GenerateResult("Network error: " + simulateFailure(type));
163}
164
165// ResponseBuilder implementation
166std::string ResponseBuilder::buildSuccessResponse(const std::string& content,

Callers

nothing calls this directly

Calls 1

GenerateResultClass · 0.85

Tested by

no test coverage detected