MCPcopy
hub / github.com/webpack/webpack / invalidWithError

Method invalidWithError

lib/FileSystemInfo.js:3109–3114  ·  view source on GitHub ↗
(path, err)

Source from the content-addressed store, hash-verified

3107 * @param {WebpackError} err err
3108 */
3109 const invalidWithError = (path, err) => {
3110 if (this._remainingLogs > 0) {
3111 this._log(path, "error occurred: %s", err);
3112 }
3113 invalid();
3114 };
3115 /**
3116 * Checks true, if ok.
3117 * @param {string} path file path

Callers

nothing calls this directly

Calls 1

_logMethod · 0.95

Tested by

no test coverage detected