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.

19 lines
492 B

4 years ago
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Maksim Nazarjev @acupofspirt
  4. */
  5. "use strict";
  6. const WebpackError = require("./WebpackError");
  7. module.exports = class ConcurrentCompilationError extends WebpackError {
  8. constructor() {
  9. super();
  10. this.name = "ConcurrentCompilationError";
  11. this.message =
  12. "You ran Webpack twice. Each instance only supports a single concurrent compilation at a time.";
  13. Error.captureStackTrace(this, this.constructor);
  14. }
  15. };