UNPKG

ts-repository

Version:

Repository template interfaces and stub in-memory implementation

10 lines (9 loc) 208 B
'use strict'; class AbstractError extends Error { constructor(msg) { super(); this.message = msg; this.name = this.constructor.name; } } exports.AbstractError = AbstractError;