Improve code quality and write tests
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// see: http://man7.org/linux/man-pages/man2/accept.2.html#ERRORS
|
||||
var offlineErrorCodes = [
|
||||
'EAI_AGAIN',
|
||||
'ENETDOWN',
|
||||
'EPROTO',
|
||||
'ENOPROTOOPT',
|
||||
'EHOSTDOWN',
|
||||
'ENONET',
|
||||
'EHOSTUNREACH',
|
||||
'EOPNOTSUPP',
|
||||
'ENETUNREACH',
|
||||
]
|
||||
|
||||
module.exports = offlineErrorCodes
|
||||
Reference in New Issue
Block a user