fix(*): add missing imports for custom errors (#5767)

This commit is contained in:
Shubham Parihar
2021-06-07 17:39:43 +05:30
committed by GitHub
parent d1c5b6fe9e
commit e980948de5
7 changed files with 9 additions and 3 deletions

View File

@@ -14,6 +14,7 @@ const Messages = {
WS_CLOSE_REQUESTED: 'WebSocket closed due to user request.',
WS_CONNECTION_EXISTS: 'There is already an existing WebSocket connection.',
WS_NOT_OPEN: (data = 'data') => `Websocket not open to send ${data}`,
MANAGER_DESTROYED: 'Manager was destroyed.',
BITFIELD_INVALID: bit => `Invalid bitfield flag or number: ${bit}.`,