Skip to content

Instantly share code, notes, and snippets.

@aNd1coder
Created October 18, 2016 02:40
Show Gist options
  • Save aNd1coder/3c18c71b587323689cea12e014355841 to your computer and use it in GitHub Desktop.
Save aNd1coder/3c18c71b587323689cea12e014355841 to your computer and use it in GitHub Desktop.
libuv errorno list
# https://github.com/joyent/libuv/blob/master/include/uv.h#L114
E2BIG - "argumentlisttoolong"
EACCES - "permissiondenied"
EADDRINUSE - "addressalreadyinuse"
EADDRNOTAVAIL - "addressnotavailable"
EAFNOSUPPORT - "addressfamilynotsupported"
EAGAIN - "resourcetemporarilyunavailable"
EAI_ADDRFAMILY - "addressfamilynotsupported"
EAI_AGAIN - "temporaryfailure"
EAI_BADFLAGS - "badai_flagsvalue"
EAI_BADHINTS - "invalidvalueforhints"
EAI_CANCELED - "requestcanceled"
EAI_FAIL - "permanentfailure"
EAI_FAMILY - "ai_familynotsupported"
EAI_MEMORY - "outofmemory"
EAI_NODATA - "noaddress"
EAI_NONAME - "unknownnodeorservice"
EAI_OVERFLOW - "argumentbufferoverflow"
EAI_PROTOCOL - "resolvedprotocolisunknown"
EAI_SERVICE - "servicenotavailableforsockettype"
EAI_SOCKTYPE - "sockettypenotsupported"
EALREADY - "connectionalreadyinprogress"
EBADF - "badfiledescriptor"
EBUSY - "resourcebusyorlocked"
ECANCELED - "operationcanceled"
ECHARSET - "invalidUnicodecharacter"
ECONNABORTED - "softwarecausedconnectionabort"
ECONNREFUSED - "connectionrefused"
ECONNRESET - "connectionresetbypeer"
EDESTADDRREQ - "destinationaddressrequired"
EEXIST - "filealreadyexists"
EFAULT - "badaddressinsystemcallargument"
EFBIG - "filetoolarge"
EHOSTUNREACH - "hostisunreachable"
EINTR - "interruptedsystemcall"
EINVAL - "invalidargument"
EIO - "i/oerror"
EISCONN - "socketisalreadyconnected"
EISDIR - "illegaloperationonadirectory"
ELOOP - "toomanysymboliclinksencountered"
EMFILE - "toomanyopenfiles"
EMSGSIZE - "messagetoolong"
ENAMETOOLONG - "nametoolong"
ENETDOWN - "networkisdown"
ENETUNREACH - "networkisunreachable"
ENFILE - "filetableoverflow"
ENOBUFS - "nobufferspaceavailable"
ENODEV - "nosuchdevice"
ENOENT - "nosuchfileordirectory"
ENOMEM - "notenoughmemory"
ENONET - "machineisnotonthenetwork"
ENOPROTOOPT - "protocolnotavailable"
ENOSPC - "nospaceleftondevice"
ENOSYS - "functionnotimplemented"
ENOTCONN - "socketisnotconnected"
ENOTDIR - "notadirectory"
ENOTEMPTY - "directorynotempty"
ENOTSOCK - "socketoperationonnon-socket"
ENOTSUP - "operationnotsupportedonsocket"
EPERM - "operationnotpermitted"
EPIPE - "brokenpipe"
EPROTO - "protocolerror"
EPROTONOSUPPORT - "protocolnotsupported"
EPROTOTYPE - "protocolwrongtypeforsocket"
ERANGE - "resulttoolarge"
EROFS - "read-onlyfilesystem"
ESHUTDOWN - "cannotsendaftertransportendpointshutdown"
ESPIPE - "invalidseek"
ESRCH - "nosuchprocess"
ETIMEDOUT - "connectiontimedout"
ETXTBSY - "textfileisbusy"
EXDEV - "cross-devicelinknotpermitted"
UNKNOWN - "unknownerror"
EOF - "endoffile"
ENXIO - "nosuchdeviceoraddress"
EMLINK - "toomanylinks"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment