UNPKG
tell-me-when
Version:
latest (1.2.1)
1.2.1
1.2.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
human relative date and time parser
github.com/jedwards1211/tell-me-when
jedwards1211/tell-me-when
tell-me-when
/
src
/
util
/
ParseError.ts
12 lines
(10 loc)
•
212 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
class
ParseError
extends
Error
{ name =
'ParseError'
from
:
number
to
:
number
constructor
(
message
:
string
,
from
:
number
, to =
from
) {
super
(message)
this
.
from
=
from
this
.
to
= to } }