[3.13] gh-85046: Document errno constants (GH-126420) (#129383)

(cherry picked from commit 1c3bb200da)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
This commit is contained in:
Miss Islington (bot) 2025-01-28 01:19:06 +01:00 committed by GitHub
parent 87d587faba
commit 332426b4af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -665,6 +665,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