2013-10-11 16:42:25 +08:00
|
|
|
/*
|
|
|
|
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);
|
2016-05-20 13:39:36 +08:00
|
|
|
UnsupportedFeatureWarning.prototype.constructor = UnsupportedFeatureWarning;
|