Sha256: 37d323c7721bfc36a86139c505a55d07f2188a64a1ec75f650a32d8ae06ad4b6
Contents?: true
Size: 628 Bytes
Versions: 10
Compression:
Stored size: 628 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 ModuleDependencyWarning extends WebpackError { constructor(module, err, loc) { super(); this.name = "ModuleDependencyWarning"; 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