webpack/lib/wasm-sync/UnsupportedWebAssemblyFeatu...

21 lines
445 B
JavaScript
Raw Normal View History

2018-04-28 00:53:07 +08:00
/*
MIT License http://www.opensource.org/licenses/mit-license.php
*/
2018-07-30 23:08:51 +08:00
2018-04-28 00:53:07 +08:00
"use strict";
const WebpackError = require("../WebpackError");
2020-11-26 17:52:55 +08:00
module.exports = class UnsupportedWebAssemblyFeatureError extends (
WebpackError
) {
2018-04-28 00:53:07 +08:00
/** @param {string} message Error message */
constructor(message) {
super(message);
2018-04-28 00:53:07 +08:00
this.name = "UnsupportedWebAssemblyFeatureError";
this.hideStack = true;
Error.captureStackTrace(this, this.constructor);
}
};