mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			21 lines
		
	
	
		
			470 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			470 B
		
	
	
	
		
			JavaScript
		
	
	
	
| /*
 | |
| 	MIT License http://www.opensource.org/licenses/mit-license.php
 | |
| 	Author Tobias Koppers @sokra
 | |
| */
 | |
| "use strict";
 | |
| 
 | |
| class UnsupportedFeatureWarning extends Error {
 | |
| 
 | |
| 	constructor(module, message) {
 | |
| 		super();
 | |
| 		if(Error.hasOwnProperty("captureStackTrace")) {
 | |
| 			Error.captureStackTrace(this, this.constructor);
 | |
| 		}
 | |
| 		this.name = "UnsupportedFeatureWarning";
 | |
| 		this.message = message;
 | |
| 		this.origin = this.module = module;
 | |
| 	}
 | |
| }
 | |
| 
 | |
| module.exports = UnsupportedFeatureWarning;
 |