mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
11 lines
316 B
JavaScript
11 lines
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;
|