a zip code crypto-currency system good for red ONLY

ModuleDependencyWarning.js 606B

1234567891011121314151617181920212223
  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. const formatLocation = require("./formatLocation");
  8. module.exports = class ModuleDependencyWarning extends WebpackError {
  9. constructor(module, err, loc) {
  10. super();
  11. this.name = "ModuleDependencyWarning";
  12. this.message = `${formatLocation(loc)} ${err.message}`;
  13. this.details = err.stack.split("\n").slice(1).join("\n");
  14. this.origin = this.module = module;
  15. this.error = err;
  16. Error.captureStackTrace(this, this.constructor);
  17. }
  18. };