mirror of https://github.com/webpack/webpack.git
19 lines
458 B
JavaScript
19 lines
458 B
JavaScript
/*
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
*/
|
|
"use strict";
|
|
|
|
const WebpackError = require("../WebpackError");
|
|
|
|
module.exports = class UnsupportedWebAssemblyFeatureError extends WebpackError {
|
|
/** @param {string} message Error message */
|
|
constructor(message) {
|
|
super();
|
|
this.name = "UnsupportedWebAssemblyFeatureError";
|
|
this.message = message;
|
|
this.hideStack = true;
|
|
|
|
Error.captureStackTrace(this, this.constructor);
|
|
}
|
|
};
|