UNPKG

e-lado

Version:

[![CircleCI](https://circleci.com/gh/sharetribe/sharetribe/tree/master.svg?style=svg)](https://circleci.com/gh/sharetribe/sharetribe/tree/master) [![Dependency Status](https://gemnasium.com/sharetribe/sharetribe.png)](https://gemnasium.com/sharetribe/shar

18 lines (16 loc) 518 B
/* 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.missing = err.missing; this.module = module; this.error = err; } module.exports = ModuleNotFoundError; ModuleNotFoundError.prototype = Object.create(Error.prototype);