@opra/common
Version:
Opra common package
24 lines (23 loc) • 1.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IssueSeverity = void 0;
var IssueSeverity;
(function (IssueSeverity) {
let Enum;
(function (Enum) {
Enum["fatal"] = "fatal";
Enum["error"] = "error";
Enum["warning"] = "warning";
Enum["info"] = "info";
})(Enum = IssueSeverity.Enum || (IssueSeverity.Enum = {}));
IssueSeverity.name = 'IssueSeverity';
IssueSeverity.description = 'Severity of the issue';
IssueSeverity.Keys = Object.keys(IssueSeverity);
IssueSeverity.descriptions = {
fatal: 'The issue caused the action to fail and no further checking could be performed',
error: 'The issue is sufficiently important to cause the action to fail',
warning: 'The issue is not important enough to cause the action to fail but ' +
'may cause it to be performed suboptimally or in a way that is not as desired',
info: 'The issue has no relation to the degree of success of the action',
};
})(IssueSeverity || (exports.IssueSeverity = IssueSeverity = {}));