HarmonyLinkingError.js 408 B

1234567891011121314151617
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. */
  4. "use strict";
  5. const WebpackError = require("./WebpackError");
  6. module.exports = class HarmonyLinkingError extends WebpackError {
  7. /** @param {string} message Error message */
  8. constructor(message) {
  9. super(message);
  10. this.name = "HarmonyLinkingError";
  11. this.hideStack = true;
  12. Error.captureStackTrace(this, this.constructor);
  13. }
  14. };