UNPKG

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