3 function InvalidRegistrationError(message) {
4 this.message = message;
5 this.name = 'InvalidRegistrationError';
6 Error.captureStackTrace(this, InvalidRegistrationError);
9 InvalidRegistrationError.prototype = Object.create(Error.prototype);
10 InvalidRegistrationError.prototype.constructor = InvalidRegistrationError;
12 module.exports = InvalidRegistrationError;