https://github.com/python/cpython/commit/1c3bb200da77f9df30af4717988dad17db086d1a
commit: 1c3bb200da77f9df30af4717988dad17db086d1a
branch: main
author: RUANG (James Roy) <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2025-01-28T01:12:45+01:00
summary:
gh-85046: Document errno constants (#126420)
files:
M Doc/library/errno.rst
diff --git a/Doc/library/errno.rst b/Doc/library/errno.rst
index d8033663ea8eac..48b9762d85c2e1 100644
--- a/Doc/library/errno.rst
+++ b/Doc/library/errno.rst
@@ -672,6 +672,171 @@ defined by the module. The specific list of defined
symbols is available as
.. versionadded:: 3.11
+
+.. data:: ENOMEDIUM
+
+ No medium found
+
+
+.. data:: EMEDIUMTYPE
+
+ Wrong medium type
+
+
+.. data:: ENOKEY
+
+ Required key not available
+
+
+.. data:: EKEYEXPIRED
+
+ Key has expired
+
+
+.. data:: EKEYREVOKED
+
+ Key has been revoked
+
+
+.. data:: EKEYREJECTED
+
+ Key was rejected by service
+
+
+.. data:: ERFKILL
+
+ Operation not possible due to RF-kill
+
+
+.. data:: ELOCKUNMAPPED
+
+ Locked lock was unmapped
+
+
+.. data:: ENOTACTIVE
+
+ Facility is not active
+
+
+.. data:: EAUTH
+
+ Authentication error
+
+ .. versionadded:: 3.2
+
+
+.. data:: EBADARCH
+
+ Bad CPU type in executable
+
+ .. versionadded:: 3.2
+
+
+.. data:: EBADEXEC
+
+ Bad executable (or shared library)
+
+ .. versionadded:: 3.2
+
+
+.. data:: EBADMACHO
+
+ Malformed Mach-o file
+
+ .. versionadded:: 3.2
+
+
+.. data:: EDEVERR
+
+ Device error
+
+ .. versionadded:: 3.2
+
+
+.. data:: EFTYPE
+
+ Inappropriate file type or format
+
+ .. versionadded:: 3.2
+
+
+.. data:: ENEEDAUTH
+
+ Need authenticator
+
+ .. versionadded:: 3.2
+
+
+.. data:: ENOATTR
+
+ Attribute not found
+
+ .. versionadded:: 3.2
+
+
+.. data:: ENOPOLICY
+
+ Policy not found
+
+ .. versionadded:: 3.2
+
+
+.. data:: EPROCLIM
+
+ Too many processes
+
+ .. versionadded:: 3.2
+
+
+.. data:: EPROCUNAVAIL
+
+ Bad procedure for program
+
+ .. versionadded:: 3.2
+
+
+.. data:: EPROGMISMATCH
+
+ Program version wrong
+
+ .. versionadded:: 3.2
+
+
+.. data:: EPROGUNAVAIL
+
+ RPC prog. not avail
+
+ .. versionadded:: 3.2
+
+
+.. data:: EPWROFF
+
+ Device power is off
+
+ .. versionadded:: 3.2
+
+
+.. data:: EBADRPC
+
+ RPC struct is bad
+
+ .. versionadded:: 3.2
+
+
+.. data:: ERPCMISMATCH
+
+ RPC version wrong
+
+ .. versionadded:: 3.2
+
+
+.. data:: ESHLIBVERS
+
+ Shared library version mismatch
+
+ .. versionadded:: 3.2
+
+
.. data:: ENOTCAPABLE
Capabilities insufficient. This error is mapped to the exception
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]