EntryModuleNotFoundError.js 475 B

123456789101112131415161718192021
  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("Entry module not found: " + err);
  10. this.name = "EntryModuleNotFoundError";
  11. this.details = err.details;
  12. this.error = err;
  13. Error.captureStackTrace(this, this.constructor);
  14. }
  15. }
  16. module.exports = EntryModuleNotFoundError;