MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / addError

Method addError

lib/models/package-info-cache/package-info.js:107–109  ·  view source on GitHub ↗

* Given error data, add an ErrorEntry to the ErrorList for this object. * This is used by the _readPackage and _readNodeModulesList methods. It * should not be called otherwise. * * @protected * @method addError * @param {String} errorType one of the Errors.ERROR_* constants. *

(errorType, errorData)

Source from the content-addressed store, hash-verified

105 * being created. See showErrors().
106 */
107 addError(errorType, errorData) {
108 this.errors.addError(errorType, errorData);
109 }
110
111 /**
112 * Indicate if there are any errors in the ErrorList for this package. Note that this does

Callers 1

addDependenciesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected