"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 FunctionCallMatchError = (function (_super) {
__extends(FunctionCallMatchError, _super);
function FunctionCallMatchError(actualValue, shouldMatch, args) {
_super.call(this, actualValue, "function to be called", "Expected function " + (!shouldMatch ? "not " : "") + "to be called" + (args ? " with [" + args.map(function (arg) { return JSON.stringify(arg); }).join(", ") + "]" : "") + ".");
}
return FunctionCallMatchError;
}(_errors_1.MatchError));
exports.FunctionCallMatchError = FunctionCallMatchError;
//# sourceMappingURL=function-call-match-error.js.map |