ConcurrentCompilationError.js 492 B

12345678910111213141516171819
  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. };