MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / setError

Method setError

mcp/client.go:378–383  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

376 c.Disconnect(ctx)
377}
378
379func (c *McpClient) nextID() int {
380 c.mu.Lock()
381 defer c.mu.Unlock()
382 c.requestID++
383 return c.requestID
384}
385
386func (c *McpClient) setError(msg string) {

Callers 5

ConnectMethod · 0.95
RequestMethod · 0.95
connectTransportMethod · 0.95
initializeMethod · 0.95
pingLoopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected