MCPcopy
hub / github.com/webpack/webpack / getNumberOfErrors

Method getNumberOfErrors

lib/Module.js:809–811  ·  view source on GitHub ↗

* Gets number of errors. * @returns {number} number of errors

()

Source from the content-addressed store, hash-verified

807 * @returns {number} number of errors
808 */
809 getNumberOfErrors() {
810 return this._errors !== undefined ? this._errors.length : 0;
811 }
812
813 /**
814 * removes all warnings and errors

Callers 3

applyMethod · 0.80
getLinkingErrorsMethod · 0.80
applyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected