MCPcopy Index your code
hub / github.com/docker/docker-agent / ResultError

Function ResultError

pkg/tools/tools.go:148–153  ·  view source on GitHub ↗
(output string)

Source from the content-addressed store, hash-verified

146}
147
148func ResultError(output string) *ToolCallResult {
149 return &ToolCallResult{
150 Output: output,
151 IsError: true,
152 }
153}
154
155func ResultSuccess(output string) *ToolCallResult {
156 return &ToolCallResult{

Callers 15

CallToolMethod · 0.92
workspaceMethod · 0.92
hoverMethod · 0.92
locationRequestMethod · 0.92
referencesMethod · 0.92
documentSymbolsMethod · 0.92
workspaceSymbolsMethod · 0.92
getDiagnosticsMethod · 0.92
renameMethod · 0.92
codeActionsMethod · 0.92
formatMethod · 0.92
callHierarchyMethod · 0.92

Calls

no outgoing calls

Tested by 1