Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ Is
Method
Is
internal/jsonrpc2/wire.go:88–94 ·
view source on GitHub ↗
(other error)
Source
from the content-addressed store, hash-verified
86
}
87
88
func
(err *WireError) Is(other error) bool {
89
w, ok := other.(*WireError)
90
if
!ok {
91
return
false
92
}
93
return
err.Code == w.Code
94
}
Callers
15
verify
Function · 0.80
wait
Method · 0.80
acceptRequest
Method · 0.80
write
Method · 0.80
scanEvents
Function · 0.80
TestServerClosing
Function · 0.80
TestKeepAliveFailure
Function · 0.80
TestStreamableServerShutdown
Function · 0.80
Test_ExportErrSessionMissing
Function · 0.80
TestServerRunContextCancel
Function · 0.80
call
Function · 0.80
Write
Method · 0.80
Calls
no outgoing calls
Tested by
6
TestServerClosing
Function · 0.64
TestKeepAliveFailure
Function · 0.64
TestStreamableServerShutdown
Function · 0.64
Test_ExportErrSessionMissing
Function · 0.64
TestServerRunContextCancel
Function · 0.64
runServerTest
Function · 0.64