EntryModuleNotFoundError.js 516 B

12345678910111213141516171819202122
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const WebpackError = require("./WebpackError");
  7. class EntryModuleNotFoundError extends WebpackError {
  8. constructor(err) {
  9. super();
  10. this.name = "EntryModuleNotFoundError";
  11. this.message = "Entry module not found: " + err;
  12. this.details = err.details;
  13. this.error = err;
  14. Error.captureStackTrace(this, this.constructor);
  15. }
  16. }
  17. module.exports = EntryModuleNotFoundError;