UNPKG

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