Skip to content

Commit e21a05b

Browse files
util: in error util add socket connection error.
1 parent 2631490 commit e21a05b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/util/error.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ const CUSTOM_ERRORS = [
1818
'RenderforestError',
1919
'ScreenHasVideoAreaError',
2020
'ScreenIdAlreadyExistsError',
21-
'ScreenNotFoundError'
21+
'ScreenNotFoundError',
22+
'SocketConnectionError'
2223
]
2324

2425
const ERRORS = CUSTOM_ERRORS.reduce((acc, className) => {
@@ -52,5 +53,6 @@ const ERRORS = CUSTOM_ERRORS.reduce((acc, className) => {
5253
* @property ScreenHasVideoAreaError
5354
* @property ScreenIdAlreadyExistsError
5455
* @property ScreenNotFoundError
56+
* @property SocketConnectionError
5557
*/
5658
module.exports = ERRORS

0 commit comments

Comments
 (0)