"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 |