Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/go-kit/kit
/ ErrorCode
Method
ErrorCode
transport/http/jsonrpc/server.go:218–218 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
216
// By default, InternalError (-32603) is used.
217
type
ErrorCoder
interface
{
218
ErrorCode() int
219
}
220
221
// interceptingWriter intercepts calls to WriteHeader, so that a finalizer
Callers
2
DefaultErrorEncoder
Function · 0.65
TestErrorsSatisfyError
Function · 0.65
Implementers
1
Error
transport/http/jsonrpc/error.go
Calls
no outgoing calls
Tested by
1
TestErrorsSatisfyError
Function · 0.52