UNPKG

maskdata

Version:

Node module to mask various kinds of data in the required formats

13 lines (10 loc) 268 B
class BadOption { constructor(where, reasons) { this.where = where; this.reasons = reasons; } throwBadOptionException() { throw `Bad config value : ${JSON.stringify({ where: this.where, reasons: this.reasons })}`; } } module.exports = BadOption;