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

Function NewAgentError

internal/util/errors.go:58–60  ·  view source on GitHub ↗
(msg string, cause error)

Source from the content-addressed store, hash-verified

56func (e *AgentError) Unwrap() error { return e.Cause }
57
58func NewAgentError(msg string, cause error) *AgentError {
59 return &AgentError{Msg: msg, Cause: cause}
60}
61
62var _ ToolboxError = &AgentError{}
63

Callers 15

InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92
buildQueryParametersFunction · 0.92
InvokeMethod · 0.92
InvokeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected