MCPcopy Index your code
hub / github.com/SamVerschueren/dev-time-cli / parseError

Function parseError

cli.js:61–67  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

59});
60
61function parseError(err) {
62 if (/no contributions/.test(err.message) || /Rate limit exceeded/.test(err.message)) {
63 return ` ${logSymbols.error} ${chalk.red('error')} ${err.message.toLowerCase()}`;
64 }
65
66 return err.stack;
67}
68
69function render() {
70 const output = [];

Callers 1

renderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected