Sha256: f5613608848d5fbb1359b3b8aeb8309428f132c23fc0d7f4609a41bac4416798
Contents?: true
Size: 624 Bytes
Versions: 10
Compression:
Stored size: 624 Bytes
Contents
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const WebpackError = require("./WebpackError"); const formatLocation = require("./formatLocation"); module.exports = class ModuleDependencyError extends WebpackError { constructor(module, err, loc) { super(); this.name = "ModuleDependencyError"; this.message = `${formatLocation(loc)} ${err.message}`; this.details = err.stack.split("\n").slice(1).join("\n"); this.origin = this.module = module; this.error = err; Error.captureStackTrace(this, this.constructor); } };
Version data entries
10 entries across 6 versions & 3 rubygems