Staging: this is not the live site, pydocs.org.
Generic Operating System Services errno This module makes available standard errno system symbols.
The value of each symbol is the corresponding integer value,
e.g., on most systems, errno.ENOENT equals the integer 2.
The dictionary errno.errorcode maps numeric codes to symbol names,
e.g., errno.errorcode[2] could be the string 'ENOENT'.
Symbols that are not relevant to the underlying system are not defined.
To map error codes to error messages, use the function os.strerror(),
e.g. os.strerror(2) could return 'No such file or directory'. © Python Software Foundation. PSF License Version 2 · Official docs ↗
Symbols in errno e EAUTH Authentication error EBADEXEC Bad executable (or shared library) EBADFD File descriptor in bad state EBADR Invalid request descriptor EBUSY Device or resource busy ECHRNG Channel number out of range ECOMM Communication error on send EDEADLK Resource deadlock would occur EDOM Math argument out of domain of func EFTYPE Inappropriate file type or format EINTR Interrupted system call. EISCONN Transport endpoint is already connected ELIBACC Can not access a needed shared library ELIBBAD Accessing a corrupted shared library ELIBEXEC Cannot exec a shared library directly ELIBMAX Attempting to link in too many shared libraries ELIBSCN .lib section in a.out corrupted ELNRNG Link number out of range ELOOP Too many symbolic links encountered ENAVAIL No XENIX semaphores available ENETRESET Network dropped connection because of reset ENOCSI No CSI structure available ENOENT No such file or directory. ENOKEY Required key not available ENOLCK No record locks available ENOMSG No message of desired type ENONET Machine is not on the network ENOSR Out of streams resources ENOSYS Function not implemented ENOTCONN Transport endpoint is not connected ENXIO No such device or address EOPNOTSUPP Operation not supported on transport endpoint EOVERFLOW Value too large for defined data type EPERM Operation not permitted. EQFULL Interface output queue is full ERANGE Math result not representable ERESTART Interrupted system call should be restarted ERFKILL Operation not possible due to RF-kill EROFS Read-only file system errorcode Dictionary providing a mapping from the errno value to the string name in the underlying system. ESHUTDOWN Cannot send after transport endpoint shutdown. EUNATCH Protocol driver not attached
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF