webpack/lib/EntryModuleNotFoundError.js

17 lines
547 B
JavaScript
Raw Normal View History

2013-01-31 01:49:25 +08:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
function EntryModuleNotFoundError(err) {
Error.call(this);
this.name = "EntryModuleNotFoundError";
this.message = "Entry module not found: " + err;
2014-02-26 16:37:10 +08:00
this.details = err.details;
2013-01-31 01:49:25 +08:00
this.error = err;
Error.captureStackTrace(this, EntryModuleNotFoundError);
2013-01-31 01:49:25 +08:00
}
module.exports = EntryModuleNotFoundError;
EntryModuleNotFoundError.prototype = Object.create(Error.prototype);
EntryModuleNotFoundError.prototype.constructor = EntryModuleNotFoundError;