MCPcopy Create free account
hub / github.com/modelcontextprotocol/go-sdk / failure

Method failure

mcp/streamable.go:1748–1755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1746}
1747
1748func (c *streamableClientConn) failure() error {
1749 select {
1750 case <-c.failed:
1751 return c._failure
1752 default:
1753 return nil
1754 }
1755}
1756
1757func (c *streamableClientConn) SessionID() string {
1758 c.mu.Lock()

Callers 3

ReadMethod · 0.95
WriteMethod · 0.95
CloseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected