diff --git a/lib/UnsupportedFeatureWarning.js b/lib/UnsupportedFeatureWarning.js
index <HASH>..<HASH> 100644
--- a/lib/UnsupportedFeatureWarning.js
+++ b/lib/UnsupportedFeatureWarning.js
@@ -2,14 +2,19 @@
 	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;
+"use strict";
+
+class UnsupportedFeatureWarning extends Error {
+
+	constructor(module, message) {
+		super();
+		if(Error.hasOwnProperty("captureStackTrace")) {
+			Error.captureStackTrace(this, this.constructor);
+		}
+		this.name = "UnsupportedFeatureWarning";
+		this.message = message;
+		this.origin = this.module = module;
+	}
 }
-module.exports = UnsupportedFeatureWarning;
 
-UnsupportedFeatureWarning.prototype = Object.create(Error.prototype);
-UnsupportedFeatureWarning.prototype.constructor = UnsupportedFeatureWarning;
+module.exports = UnsupportedFeatureWarning;
refactor(ES6): upgrade UnsupportedFeatureWarning to ES6 (#<I>)