"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PiError {
    constructor(message, element, locationdescription, severity) {
        this.message = message;
        this.reportedOn = element;
        this.locationdescription = locationdescription;
        if (!!severity) {
            this.severity = severity;
        }
        else {
            this.severity = PiErrorSeverity.ToDo;
        }
    }
}
exports.PiError = PiError;
var PiErrorSeverity;
(function (PiErrorSeverity) {
    PiErrorSeverity["Error"] = "Error";
    PiErrorSeverity["Improvement"] = "Improvement";
    PiErrorSeverity["ToDo"] = "TODO";
    PiErrorSeverity["Info"] = "Info";
    PiErrorSeverity["NONE"] = "NONE";
})(PiErrorSeverity = exports.PiErrorSeverity || (exports.PiErrorSeverity = {}));
//# sourceMappingURL=PiValidator.js.map