Last active
April 2, 2020 02:37
-
-
Save StreetStrider/9288598 to your computer and use it in GitHub Desktop.
libuv error codes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XX( -1, UNKNOWN, "unknown error") \ | |
XX( 0, OK, "success") \ | |
XX( 1, EOF, "end of file") \ | |
XX( 2, EADDRINFO, "getaddrinfo error") \ | |
XX( 3, EACCES, "permission denied") \ | |
XX( 4, EAGAIN, "resource temporarily unavailable") \ | |
XX( 5, EADDRINUSE, "address already in use") \ | |
XX( 6, EADDRNOTAVAIL, "address not available") \ | |
XX( 7, EAFNOSUPPORT, "address family not supported") \ | |
XX( 8, EALREADY, "connection already in progress") \ | |
XX( 9, EBADF, "bad file descriptor") \ | |
XX( 10, EBUSY, "resource busy or locked") \ | |
XX( 11, ECONNABORTED, "software caused connection abort") \ | |
XX( 12, ECONNREFUSED, "connection refused") \ | |
XX( 13, ECONNRESET, "connection reset by peer") \ | |
XX( 14, EDESTADDRREQ, "destination address required") \ | |
XX( 15, EFAULT, "bad address in system call argument") \ | |
XX( 16, EHOSTUNREACH, "host is unreachable") \ | |
XX( 17, EINTR, "interrupted system call") \ | |
XX( 18, EINVAL, "invalid argument") \ | |
XX( 19, EISCONN, "socket is already connected") \ | |
XX( 20, EMFILE, "too many open files") \ | |
XX( 21, EMSGSIZE, "message too long") \ | |
XX( 22, ENETDOWN, "network is down") \ | |
XX( 23, ENETUNREACH, "network is unreachable") \ | |
XX( 24, ENFILE, "file table overflow") \ | |
XX( 25, ENOBUFS, "no buffer space available") \ | |
XX( 26, ENOMEM, "not enough memory") \ | |
XX( 27, ENOTDIR, "not a directory") \ | |
XX( 28, EISDIR, "illegal operation on a directory") \ | |
XX( 29, ENONET, "machine is not on the network") \ | |
XX( 31, ENOTCONN, "socket is not connected") \ | |
XX( 32, ENOTSOCK, "socket operation on non-socket") \ | |
XX( 33, ENOTSUP, "operation not supported on socket") \ | |
XX( 34, ENOENT, "no such file or directory") \ | |
XX( 35, ENOSYS, "function not implemented") \ | |
XX( 36, EPIPE, "broken pipe") \ | |
XX( 37, EPROTO, "protocol error") \ | |
XX( 38, EPROTONOSUPPORT, "protocol not supported") \ | |
XX( 39, EPROTOTYPE, "protocol wrong type for socket") \ | |
XX( 40, ETIMEDOUT, "connection timed out") \ | |
XX( 41, ECHARSET, "invalid Unicode character") \ | |
XX( 42, EAIFAMNOSUPPORT, "address family for hostname not supported") \ | |
XX( 44, EAISERVICE, "servname not supported for ai_socktype") \ | |
XX( 45, EAISOCKTYPE, "ai_socktype not supported") \ | |
XX( 46, ESHUTDOWN, "cannot send after transport endpoint shutdown") \ | |
XX( 47, EEXIST, "file already exists") \ | |
XX( 48, ESRCH, "no such process") \ | |
XX( 49, ENAMETOOLONG, "name too long") \ | |
XX( 50, EPERM, "operation not permitted") \ | |
XX( 51, ELOOP, "too many symbolic links encountered") \ | |
XX( 52, EXDEV, "cross-device link not permitted") \ | |
XX( 53, ENOTEMPTY, "directory not empty") \ | |
XX( 54, ENOSPC, "no space left on device") \ | |
XX( 55, EIO, "i/o error") \ | |
XX( 56, EROFS, "read-only file system") \ | |
XX( 57, ENODEV, "no such device") \ | |
XX( 58, ESPIPE, "invalid seek") \ | |
XX( 59, ECANCELED, "operation canceled") \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's useful to me