/*
	MIT License http://www.opensource.org/licenses/mit-license.php
	Author Jarid Margolin @jaridmargolin
*/
"use strict";

module.exports = class WebpackError extends Error {
	inspect() {
		return this.stack + (this.details ? `\n${this.details}` : "");
	}
};

@@ -168,16 +168,222 @@
 Error %7B%0A
+%09constructor(message) %7B%0A%09%09super(message);%0A%09%09this.name = 'WebpackError';%0A%09%09this.message = message;%0A%09%09Error.captureStackTrace(this, this.constructor);%0A%0A%09%09/** @type %7Bstring%7D */%0A%09%09this.details = undefined;%0A%09%7D%0A%0A
 %09inspect

Refactor WebpackError to initialize details as undefined