MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / errorResult

Function errorResult

sdk/src/tools/apply-patch.ts:581–586  ·  view source on GitHub ↗
(errorMessage: string)

Source from the content-addressed store, hash-verified

579}
580
581function errorResult(errorMessage: string): ApplyPatchJson {
582 return {
583 type: 'json',
584 value: { errorMessage },
585 }
586}
587
588function parseOperation(parameters: unknown): ApplyPatchOperation | null {
589 if (

Callers 1

applyPatchToolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected