all files / core/errors/ less-than-match-error.js

100% Statements 14/14
77.78% Branches 7/9
100% Functions 4/4
100% Lines 11/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16    15×      
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) Eif (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var _errors_1 = require("../_errors");
var LessThanMatchError = (function (_super) {
    __extends(LessThanMatchError, _super);
    function LessThanMatchError(actualValue, upperLimit, shouldMatch) {
        _super.call(this, actualValue, upperLimit, "Expected " + actualValue + " " + (!shouldMatch ? "not " : "") + "to be less than " + upperLimit + ".");
    }
    return LessThanMatchError;
}(_errors_1.MatchError));
exports.LessThanMatchError = LessThanMatchError;
//# sourceMappingURL=less-than-match-error.js.map