* Reports an error message. * @param {string} tag * @param {...*} args
(tag, ...args)
| 267 | * @param {...*} args |
| 268 | */ |
| 269 | error(tag, ...args) { |
| 270 | if (!this.msg_(tag, LogLevel_Enum.ERROR, args)) { |
| 271 | const error = this.createError.apply(this, args); |
| 272 | error.name = tag || error.name; |
| 273 | self.__AMP_REPORT_ERROR?.(error); |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | /** |
| 278 | * Reports an error message and marks with an expected property. If the |
no test coverage detected