MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / errorResult

Method errorResult

src/mcp/tools.ts:4941–4946  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

4939 }
4940
4941 private errorResult(message: string): ToolResult {
4942 return {
4943 content: [{ type: 'text', text: `Error: ${message}` }],
4944 isError: true,
4945 };
4946 }
4947}

Callers 5

validateStringMethod · 0.95
validateOptionalPathMethod · 0.95
executeMethod · 0.95
executeReadToolMethod · 0.95
dispatchToolMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected