UNPKG

enmap

Version:

A simple database wrapper to make sqlite database interactions much easier for beginners, with additional array helper methods.

11 lines (9 loc) 272 B
class CustomError extends Error { constructor(message: string, name: string | null = null) { super(); Error.captureStackTrace(this, this.constructor); this.name = name || 'EnmapError'; this.message = message; } } export default CustomError;