We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00f3de5 commit c8cfff7Copy full SHA for c8cfff7
lib/WebpackError.js
@@ -7,14 +7,13 @@
7
module.exports = class WebpackError extends Error {
8
constructor(message) {
9
super(message);
10
- this.name = 'WebpackError';
+
11
this.message = message;
12
Error.captureStackTrace(this, this.constructor);
13
-
14
- /** @type {string} */
15
- this.details = undefined;
16
}
17
+ get details() {}
18
inspect() {
19
return this.stack + (this.details ? `\n${this.details}` : "");
20
0 commit comments