/**
* An error thrown if the key already exists
* @extends {Error}
*/
class ExistsError extends Error {
constructor(message = 'That key already exists') {
super(message);
this.message = message;
}
}
module.exports = ExistsError;
/**
* An error thrown if the key already exists
* @extends {Error}
*/
class ExistsError extends Error {
constructor(message = 'That key already exists') {
super(message);
this.message = message;
}
}
module.exports = ExistsError;