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
/
ts
/
src
/
error.ts
9 lines
(8 loc)
•
177 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
export
abstract
class
AbstractError
extends
Error
{
constructor
(
msg
:
string
) {
super
();
this
.
message
= msg;
this
.
name
=
this
.
constructor
.
name
; } }