Code coverage report for lib\ModuleNotFoundError.js

Statements: 100% (10 / 10)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (10 / 10)      Ignored: none     

All files » lib\ » ModuleNotFoundError.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17        1 84 84 84 84 84 84 84   1   1  
/*
	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;
	this.details = err.details;
	this.module = module;
	this.error = err;
}
module.exports = ModuleNotFoundError;
 
ModuleNotFoundError.prototype = Object.create(Error.prototype);