pixsy/node_modules/clean-css/lib/properties/invalid-property-error.js

11 lines
316 B
JavaScript
Raw Normal View History

2017-12-22 17:22:08 +00:00
function InvalidPropertyError(message) {
this.name = 'InvalidPropertyError';
this.message = message;
this.stack = (new Error()).stack;
}
InvalidPropertyError.prototype = Object.create(Error.prototype);
InvalidPropertyError.prototype.constructor = InvalidPropertyError;
module.exports = InvalidPropertyError;