constructor(message, options = {}) {
		// @ts-expect-error ES2018 doesn't `Error.cause`, but it can be used by developers
		super(message, options);

		/** @type {string=} */
		this.details = undefined;
		/** @type {(Module | null)=} */
		this.module = undefined;
		/** @type {DependencyLocation=} */
		this.loc = undefined;
		/** @type {boolean=} */
		this.hideStack = undefined;
		/** @type {Chunk=} */
		this.chunk = undefined;
		/** @type {string=} */
		this.file = undefined;
	}
Creates an instance of WebpackError.
@param {string=} message error message
@param {{ cause?: unknown }} options error options