export class ValidationFailure {
    constructor(message, source) {
        this.message = message !== null && message !== void 0 ? message : null;
        this.source = source !== null && source !== void 0 ? source : null;
    }
    toString() {
        var _a, _b;
        return `${(_a = this.source) !== null && _a !== void 0 ? _a : "No source was specified"}: ${(_b = this.message) !== null && _b !== void 0 ? _b : "No message was specified"}`;
    }
}
//# sourceMappingURL=validation-failure.js.map