MCPcopy
hub / github.com/codeceptjs/CodeceptJS / error

Function error

lib/output.js:116–119  ·  view source on GitHub ↗

* Print error * @param {string} msg

(msg)

Source from the content-addressed store, hash-verified

114 * @param {string} msg
115 */
116 error(msg) {
117 const _msg = shouldMaskData() ? maskData(msg, getMaskConfig()) : msg
118 print(styles.error(_msg))
119 },
120
121 /**
122 * Print a successful message

Callers 3

init.jsFile · 0.85
configMigrate.jsFile · 0.85
codecept.jsFile · 0.85

Calls 4

shouldMaskDataFunction · 0.90
maskDataFunction · 0.90
getMaskConfigFunction · 0.90
printFunction · 0.70

Tested by

no test coverage detected