MCPcopy Create free account
hub / github.com/Azure/powershell / error

Function error

lib/index.js:326–328  ·  view source on GitHub ↗

* 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 = {})

Source from the content-addressed store, hash-verified

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

Callers 1

setFailedFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…