Ruby: defs/known_errors.def Source File

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

known_errors.def
1E2BIG Argument list too long
2EACCES Permission denied
3EADDRINUSE Address already in use
4EADDRNOTAVAIL Address not available
5EADV Advertise error
6EAFNOSUPPORT Address family not supported
7EAGAIN Resource temporarily unavailable, try again (may be the same value as EWOULDBLOCK)
8EALREADY Connection already in progress
9EAUTH Authentication error
10EBADARCH Bad CPU type in executable
11EBADE Bad exchange
12EBADEXEC Bad executable
13EBADF Bad file descriptor
14EBADFD File descriptor in bad state
15EBADMACHO Malformed Macho file
16EBADMSG Bad message
17EBADR Invalid request descriptor
18EBADRPC RPC struct is bad
19EBADRQC Invalid request code
20EBADSLT Invalid slot
21EBFONT Bad font file format
22EBUSY Device or resource busy
23ECANCELED Operation canceled
24ECAPMODE Not permitted in capability mode
25ECHILD No child processes
26ECHRNG Channel number out of range
27ECOMM Communication error on send
28ECONNABORTED Connection aborted
29ECONNREFUSED Connection refused
30ECONNRESET Connection reset
31EDEADLK Resource deadlock avoided
32EDEADLOCK File locking deadlock error
33EDESTADDRREQ Destination address required
34EDEVERR Device error; e.g., printer paper out
35EDOM Mathematics argument out of domain of function
36EDOOFUS Improper function use
37EDOTDOT RFS specific error
38EDQUOT Disk quota exceeded
39EEXIST File exists
40EFAULT Bad address
41EFBIG File too large
42EFTYPE Invalid file type or format
43EHOSTDOWN Host is down
44EHOSTUNREACH Host is unreachable
45EHWPOISON Memory page has hardware error
46EIDRM Identifier removed
47EILSEQ Invalid or incomplete multibyte or wide character
48EINPROGRESS Operation in progress
49EINTR Interrupted function call
50EINVAL Invalid argument
51EIO Input/output error
52EIPSEC IPsec processing failure
53EISCONN Socket is connected
54EISDIR Is a directory
55EISNAM Is a named file type
56EKEYEXPIRED Key has expired
57EKEYREJECTED Key was rejected by service
58EKEYREVOKED Key has been revoked
59EL2HLT Level 2 halted
60EL2NSYNC Level 2 not synchronized
61EL3HLT Level 3 halted
62EL3RST Level 3 reset
63ELIBACC Cannot access a needed shared library
64ELIBBAD Accessing a corrupted shared library
65ELIBEXEC Cannot exec a shared library directly
66ELIBMAX Attempting to link in too many shared libraries
67ELIBSCN .lib section in a.out corrupted
68ELNRNG Link number out of range
69ELOOP Too many levels of symbolic links
70EMEDIUMTYPE Wrong medium type
71EMFILE Too many open files
72EMLINK Too many links
73EMSGSIZE Message too long
74EMULTIHOP Multihop attempted
75ENAMETOOLONG Filename too long
76ENAVAIL No XENIX semaphores available
77ENEEDAUTH Need authenticator
78ENETDOWN Network is down
79ENETRESET Connection aborted by network
80ENETUNREACH Network unreachable
81ENFILE Too many open files in system
82ENOANO No anode
83ENOATTR Attribute not found
84ENOBUFS No buffer space available
85ENOCSI No CSI structure available
86ENODATA No data available
87ENODEV No such device
88ENOENT No such file or directory
89ENOEXEC Exec format error
90ENOKEY Required key not available
91ENOLCK No locks available
92ENOLINK Link has been severed
93ENOMEDIUM No medium found
94ENOMEM Not enough space/cannot allocate memory
95ENOMSG No message of the desired type
96ENONET Machine is not on the network
97ENOPKG Package not installed
98ENOPOLICY No such policy
99ENOPROTOOPT Protocol not available
100ENOSPC No space left on device
101ENOSR No STREAM resources
102ENOSTR Not a STREAM
103ENOSYS Functionality not implemented
104ENOTBLK Block device required
105ENOTCAPABLE Capabilities insufficient
106ENOTCONN The socket is not connected
107ENOTDIR Not a directory
108ENOTEMPTY Directory not empty
109ENOTNAM Not a XENIX named type file
110ENOTRECOVERABLE State not recoverable
111ENOTSOCK Not a socket
112ENOTSUP Operation not supported
113ENOTTY Inappropriate I/O control operation
114ENOTUNIQ Name not unique on network
115ENXIO No such device or address
116EOPNOTSUPP Operation not supported on socket
117EOVERFLOW Value too large to be stored in data type
118EOWNERDEAD Owner died
119EPERM Operation not permitted
120EPFNOSUPPORT Protocol family not supported
121EPIPE Broken pipe
122EPROCLIM Too many processes
123EPROCUNAVAIL Bad procedure for program
124EPROGMISMATCH Program version wrong
125EPROGUNAVAIL RPC program isn't available
126EPROTO Protocol error
127EPROTONOSUPPORT Protocol not supported
128EPROTOTYPE Protocol wrong type for socket
129EPWROFF Device power is off
130EQFULL Interface output queue is full
131ERANGE Result too large
132EREMCHG Remote address changed
133EREMOTE Object is remote
134EREMOTEIO Remote I/O error
135ERESTART Interrupted system call should be restarted
136ERFKILL Operation not possible due to RF-kill
137EROFS Read-only file system
138ERPCMISMATCH RPC version wrong
139ESHLIBVERS Shared library version mismatch
140ESHUTDOWN Cannot send after transport endpoint shutdown
141ESOCKTNOSUPPORT Socket type not supported
142ESPIPE Illegal seek
143ESRCH No such process
144ESRMNT Server mount error
145ESTALE Stale file handle
146ESTRPIPE Streams pipe error
147ETIME Timer expired
148ETIMEDOUT Connection timed out
149ETOOMANYREFS Too many references: cannot splice
150ETXTBSY Text file busy
151EUCLEAN Structure needs cleaning
152EUNATCH Protocol driver not attached
153EUSERS Too many users
154EWOULDBLOCK Operation would block
155EXDEV Invalid cross-device link
156EXFULL Exchange full
157ELAST Largest errno value