vinyl-fs-mock
Version:
A fake file system implementation, used for test code written based on vinyl and vinyl-fs. Including gulp plugins
22 lines (15 loc) • 742 B
JavaScript
(function() {
var PathNotExistsException,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };
PathNotExistsException = (function(_super) {
__extends(PathNotExistsException, _super);
function PathNotExistsException(message) {
this.name = this.constructor.name;
this.message = message;
this.stack = (new Error()).stack;
}
return PathNotExistsException;
})(Error);
module.exports = PathNotExistsException;
}).call(this);