MCPcopy Create free account
hub / github.com/angular/components / onError

Function onError

docs/tools/lighthouse-audit.mjs:159–163  ·  view source on GitHub ↗

* @param {string} err the error message

(err)

Source from the content-addressed store, hash-verified

157 * @param {string} err the error message
158 */
159function onError(err) {
160 console.error(err);
161 console.error('');
162 process.exit(1);
163}
164
165async function cleanupAndPrepareReportsDir() {
166 try {

Callers 2

_mainFunction · 0.85
parseInputFunction · 0.85

Calls 2

errorMethod · 0.80
exitMethod · 0.45

Tested by

no test coverage detected