MCPcopy
hub / github.com/rpamis/comet / printCommandErrorDetails

Function printCommandErrorDetails

src/core/command-error.ts:61–65  ·  view source on GitHub ↗
(error: unknown, indent = '    ')

Source from the content-addressed store, hash-verified

59}
60
61function printCommandErrorDetails(error: unknown, indent = ' '): void {
62 for (const detail of formatCommandErrorDetails(error)) {
63 console.error(`${indent}${detail.split('\n').join(`\n${indent}`)}`);
64 }
65}
66
67export { printCommandErrorDetails, formatCommandErrorDetails };

Callers 6

ensureCodegraphCliFunction · 0.85
installCodegraphFunction · 0.85
ensureOpenSpecCliFunction · 0.85
installOpenSpecFunction · 0.85

Calls 1

Tested by

no test coverage detected