This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/webpack/lib/ModuleNotFoundError.js
2020-11-01 22:46:04 +00:00

24 lines
516 B
JavaScript

/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const WebpackError = require("./WebpackError");
class ModuleNotFoundError extends WebpackError {
constructor(module, err) {
super("Module not found: " + err);
this.name = "ModuleNotFoundError";
this.details = err.details;
this.missing = err.missing;
this.module = module;
this.error = err;
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = ModuleNotFoundError;