UNPKG
@hellotext/hellotext
Version:
latest (2.4.53)
2.4.53
2.4.52
2.4.51
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.2
2.3.1
2.3.0
2.2.1
2.2.0
2.1.51
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.9
1.7.8
1.7.6
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
Hellotext JavaScript Client
github.com/hellotext/hellotext.js
hellotext/hellotext.js
@hellotext/hellotext
/
src
/
errors
/
invalid_event.js
9 lines
(7 loc)
•
190 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
class
InvalidEvent
extends
Error
{
constructor
(
event
) {
super
(
`
${event}
is not valid. Please provide a valid event name`
)
this
.
name
=
'InvalidEvent'
} }
export
{
InvalidEvent
}