webpack/lib/EntryModuleNotFoundError.js

23 lines
494 B
JavaScript
Raw Normal View History

2013-01-31 01:49:25 +08:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
2017-03-20 12:40:30 +08:00
"use strict";
const WebpackError = require("./WebpackError");
class EntryModuleNotFoundError extends WebpackError {
2017-03-20 12:40:30 +08:00
constructor(err) {
super();
2017-03-20 12:40:30 +08:00
this.name = "EntryModuleNotFoundError";
this.message = "Entry module not found: " + err;
this.details = err.details;
this.error = err;
Error.captureStackTrace(this, this.constructor);
2017-03-20 12:40:30 +08:00
}
2013-01-31 01:49:25 +08:00
}
2017-03-20 12:40:30 +08:00
module.exports = EntryModuleNotFoundError;