| 
									
										
										
										
											2018-03-13 18:10:42 +08:00
										 |  |  | /* | 
					
						
							|  |  |  | 	MIT License http://www.opensource.org/licenses/mit-license.php
 | 
					
						
							|  |  |  | 	Author Maksim Nazarjev @acupofspirt | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2018-07-30 23:08:51 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-03-13 18:10:42 +08:00
										 |  |  | "use strict"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const WebpackError = require("./WebpackError"); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-11-29 03:04:11 +08:00
										 |  |  | module.exports = class ConcurrentCompilationError extends WebpackError { | 
					
						
							| 
									
										
										
										
											2018-03-13 18:10:42 +08:00
										 |  |  | 	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); | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | }; |