MCPcopy
hub / github.com/strapi/strapi / error

Function error

packages/utils/typescript/lib/generators/utils.js:164–172  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

162 },
163
164 error(...args) {
165 state.errors += 1;
166
167 if (silent) {
168 return;
169 }
170
171 console.error(chalk.red(`[ERROR]\t[${new Date().toISOString()}] (Typegen)`), ...args);
172 },
173 };
174};
175

Callers

nothing calls this directly

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…