1 | function InvalidPropertyError(message) {
|
2 | this.name = 'InvalidPropertyError';
|
3 | this.message = message;
|
4 | this.stack = (new Error()).stack;
|
5 | }
|
6 |
|
7 | InvalidPropertyError.prototype = Object.create(Error.prototype);
|
8 | InvalidPropertyError.prototype.constructor = InvalidPropertyError;
|
9 |
|
10 | module.exports = InvalidPropertyError;
|