Files
Monkey-Test/WebDriverAgent/Inspector/node_modules/webpack/lib/UnsupportedFeatureWarning.js
T
2019-01-25 17:01:52 +08:00

15 lines
467 B
JavaScript

/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
function UnsupportedFeatureWarning(module, message) {
Error.call(this);
Error.captureStackTrace(this, UnsupportedFeatureWarning);
this.name = "UnsupportedFeatureWarning";
this.message = message;
this.origin = this.module = module;
}
module.exports = UnsupportedFeatureWarning;
UnsupportedFeatureWarning.prototype = Object.create(Error.prototype);