UNPKG

ts-repository

Version:

Repository template interfaces and stub in-memory implementation

9 lines (8 loc) 177 B
'use strict'; export abstract class AbstractError extends Error { constructor(msg: string) { super(); this.message = msg; this.name = this.constructor.name; } }