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

Method createNetworkErrorResult

tests/utils/mock_anthropic_client.cpp:182–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182GenerateResult AnthropicNetworkFailureSimulator::createNetworkErrorResult(
183 FailureType type) {
184 return GenerateResult(simulateFailure(type));
185}
186
187// AnthropicResponseBuilder implementation
188std::string AnthropicResponseBuilder::buildSuccessResponse(

Callers

nothing calls this directly

Calls 1

GenerateResultClass · 0.85

Tested by

no test coverage detected