mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
	
	
		
			20 lines
		
	
	
		
			492 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			492 B
		
	
	
	
		
			JavaScript
		
	
	
	
|  | /* | ||
|  | 	MIT License http://www.opensource.org/licenses/mit-license.php
 | ||
|  | 	Author Maksim Nazarjev @acupofspirt | ||
|  | */ | ||
|  | "use strict"; | ||
|  | 
 | ||
|  | const WebpackError = require("./WebpackError"); | ||
|  | 
 | ||
|  | module.exports = class ConcurrentCompilationError extends WebpackError { | ||
|  | 	constructor() { | ||
|  | 		super(); | ||
|  | 
 | ||
|  | 		this.name = "ConcurrentCompilationError"; | ||
|  | 		this.message = | ||
|  | 			"You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."; | ||
|  | 
 | ||
|  | 		Error.captureStackTrace(this, this.constructor); | ||
|  | 	} | ||
|  | }; |