mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
gh-126585: Add EHWPOISON error code (#126586)
This commit is contained in:
parent
35d37d6592
commit
84ff1313d0
4 changed files with 16 additions and 0 deletions
|
|
@ -845,6 +845,9 @@ errno_exec(PyObject *module)
|
|||
#ifdef ENOKEY
|
||||
add_errcode("ENOKEY", ENOKEY, "Required key not available");
|
||||
#endif
|
||||
#ifdef EHWPOISON
|
||||
add_errcode("EHWPOISON", EHWPOISON, "Memory page has hardware error");
|
||||
#endif
|
||||
#ifdef EKEYEXPIRED
|
||||
add_errcode("EKEYEXPIRED", EKEYEXPIRED, "Key has expired");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue