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

100% Statements 22/22
71.43% Branches 5/7
100% Functions 7/7
100% Lines 19/19
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39    299× 299× 299× 299×                         217×            
"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 MatchError = (function (_super) {
    __extends(MatchError, _super);
    function MatchError(actualValue, expectedValue, message) {
        _super.call(this, message);
        this._message = message;
        this._actualValue = actualValue;
        this._expectedValue = expectedValue;
    }
    Object.defineProperty(MatchError.prototype, "actualValue", {
        get: function () {
            return this._actualValue;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MatchError.prototype, "expectedValue", {
        get: function () {
            return this._expectedValue;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MatchError.prototype, "message", {
        get: function () {
            return this._message;
        },
        enumerable: true,
        configurable: true
    });
    return MatchError;
}(Error));
exports.MatchError = MatchError;
//# sourceMappingURL=match-error.js.map