wishthis/node_modules/clean-css/lib/optimizer/level-2/invalid-property-error.js

11 lines
316 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +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;