* Reports an error message and marks with an expected property. If the * logging is disabled, the error is rethrown asynchronously. * @param {string} tag * @param {...*} args
(tag, ...args)
| 281 | * @param {...*} args |
| 282 | */ |
| 283 | expectedError(tag, ...args) { |
| 284 | if (!this.msg_(tag, LogLevel_Enum.ERROR, args)) { |
| 285 | self.__AMP_REPORT_ERROR?.(this.createExpectedError.apply(this, args)); |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | /** |
| 290 | * Creates an error object. |
no test coverage detected