MCPcopy
hub / github.com/payloadcms/payload / error

Function error

packages/create-payload-app/src/utils/log.ts:12–14  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

10}
11
12export const error = (message: string): void => {
13 p.log.error(chalk.bold(message))
14}
15
16export const debug = (message: string): void => {
17 if (process.env.DEBUG === 'true') {

Callers 7

mainFunction · 0.85
initMethod · 0.85
installPackagesFunction · 0.85
manageEnvFilesFunction · 0.85
installDepsFunction · 0.85
parseExampleFunction · 0.85
validateTemplateFunction · 0.85

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…