nowjs-core
Version:
NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence
29 lines (28 loc) • 770 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const exceptions_1 = require("../exceptions");
class ValidatorException extends exceptions_1.Exception {
constructor(validatorName, target, property, message, children) {
super(message);
this.validatorName = validatorName;
this.target = target;
this.property = property;
this.children = children;
}
get ValidatorName() {
return this.validatorName;
}
get Target() {
return this.target;
}
get Property() {
return this.property;
}
get Message() {
return this.message;
}
get Children() {
return this.children || [];
}
}
exports.ValidatorException = ValidatorException;