| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | /* | 
					
						
							|  |  |  | 	MIT License http://www.opensource.org/licenses/mit-license.php
 | 
					
						
							|  |  |  | 	Author Tobias Koppers @sokra | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | function ModuleNotFoundError(module, err) { | 
					
						
							|  |  |  | 	Error.call(this); | 
					
						
							|  |  |  | 	Error.captureStackTrace(this, ModuleNotFoundError); | 
					
						
							|  |  |  | 	this.name = "ModuleNotFoundError"; | 
					
						
							|  |  |  | 	this.message = "Module not found: " + err; | 
					
						
							| 
									
										
										
										
											2014-01-21 23:24:17 +08:00
										 |  |  | 	this.details = err.details; | 
					
						
							| 
									
										
										
										
											2013-01-31 01:49:25 +08:00
										 |  |  | 	this.module = module; | 
					
						
							|  |  |  | 	this.error = err; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | module.exports = ModuleNotFoundError; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ModuleNotFoundError.prototype = Object.create(Error.prototype); |