MCPcopy
hub / github.com/googleapis/mcp-toolbox / ToolboxError

Interface ToolboxError

internal/util/errors.go:32–37  ·  view source on GitHub ↗

ToolboxError is the interface all custom errors must satisfy

Source from the content-addressed store, hash-verified

30
31// ToolboxError is the interface all custom errors must satisfy
32type ToolboxError interface {
33 error
34 Category() ErrorCategory
35 Error() string
36 Unwrap() error
37}
38
39// Agent Errors return 200 to the sender
40type AgentError struct {

Callers 15

toolInvokeHandlerFunction · 0.95
toolsCallHandlerFunction · 0.95
toolsCallHandlerFunction · 0.95
toolsCallHandlerFunction · 0.95
toolsCallHandlerFunction · 0.95
toolsCallHandlerFunction · 0.95
TestInvokeFunction · 0.65
TestTableParserFunction · 0.65

Implementers 2

AgentErrorinternal/util/errors.go
ClientServerErrorinternal/util/errors.go

Calls

no outgoing calls

Tested by

no test coverage detected