UNPKG

sectom

Version:

Sectom is a useful npm package that has multiple easy to use functions.

23 lines (18 loc) 442 B
class DataBaseValueError { constructor(message = "") { this.name = DataBaseValueError.name; this.message = message; } } DataBaseValueError.prototype = Error.prototype; class DataBaseStringError { constructor(message = "") { this.name = DataBaseStringError.name; this.message = message; } } DataBaseStringError.prototype = Error.prototype; module.exports = { DataBaseValueError, DataBaseStringError, };