项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Deze repo is gearchiveerd. U kunt bestanden bekijken en het klonen, maar niet pushen of problemen/pull-requests openen.
 
 
 
 

27 regels
635 B

  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 ModuleNotFoundError extends WebpackError {
  8. constructor(module, err, dependencies) {
  9. super();
  10. this.name = "ModuleNotFoundError";
  11. this.message = "Module not found: " + err;
  12. this.details = err.details;
  13. this.missing = err.missing;
  14. this.module = module;
  15. this.origin = module;
  16. this.dependencies = dependencies;
  17. this.error = err;
  18. Error.captureStackTrace(this, this.constructor);
  19. }
  20. }
  21. module.exports = ModuleNotFoundError;