webpack/lib/HarmonyLinkingError.js

18 lines
408 B
JavaScript
Raw Normal View History

2018-04-04 12:10:07 +08:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
"use strict";
const WebpackError = require("./WebpackError");
module.exports = class HarmonyLinkingError extends WebpackError {
2018-04-04 12:30:02 +08:00
/** @param {string} message Error message */
2018-04-04 12:10:07 +08:00
constructor(message) {
super(message);
2018-04-04 12:10:07 +08:00
this.name = "HarmonyLinkingError";
this.hideStack = true;
Error.captureStackTrace(this, this.constructor);
}
};