* Adds an error issue * @param message error issue message. Errors will be converted to string via toString() * @param properties optional properties to add to the annotation.
(message, properties = {})
| 324 | * @param properties optional properties to add to the annotation. |
| 325 | */ |
| 326 | function error(message, properties = {}) { |
| 327 | command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); |
| 328 | } |
| 329 | exports.error = error; |
| 330 | /** |
| 331 | * Adds a warning issue |