UNPKG
ts-repository
Version:
latest (0.0.2)
0.0.2
0.0.1
Repository template interfaces and stub in-memory implementation
github.com/nyrkovalex/ts-repository
ts-repository
/
js
/
src
/
error.js
10 lines
(9 loc)
•
208 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
;
class
AbstractError
extends
Error
{
constructor
(
msg
) {
super
();
this
.
message
= msg;
this
.
name
=
this
.
constructor
.
name
; } }
exports
.
AbstractError
=
AbstractError
;