* 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)
| 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 |