babel-preset-test-bundled-dependencies
Version:
Allow custom config for create-react-app without ejecting
11 lines (8 loc) • 316 B
JavaScript
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;