MCPcopy Create free account
hub / github.com/anus-dev/ANUS / errorResult

Method errorResult

packages/core/src/tools/ls.ts:119–125  ·  view source on GitHub ↗
(llmContent: string, returnDisplay: string)

Source from the content-addressed store, hash-verified

117
118 // Helper for consistent error formatting
119 private errorResult(llmContent: string, returnDisplay: string): ToolResult {
120 return {
121 llmContent,
122 // Keep returnDisplay simpler in core logic
123 returnDisplay: `Error: ${returnDisplay}`,
124 };
125 }
126
127 /**
128 * Executes the LS operation with the given parameters

Callers 1

executeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected