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

16 lines (14 loc) 395 B
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function ModuleError(module, err) { Error.call(this); Error.captureStackTrace(this, ModuleError); this.name = "ModuleError"; this.module = module; this.message = err; this.error = err; } module.exports = ModuleError; ModuleError.prototype = Object.create(Error.prototype);