diff --git a/features.js b/features.js index 48ba9d0..07772e9 100755 --- a/features.js +++ b/features.js @@ -29,6 +29,9 @@ function(data){ return this.message } } +FeatureLinearizationError.prototype = Object.create(new Error) +FeatureLinearizationError.prototype.constructor = FeatureLinearizationError + diff --git a/package.json b/package.json index 3d2122a..18a480a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-features", - "version": "3.1.7", + "version": "3.1.8", "description": "", "main": "features.js", "scripts": {