mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
uerrno: Document alongside OSError.
These are meant to be used together, so document them in the same place along with a practical example.
This commit is contained in:
@@ -61,9 +61,5 @@ The operation timed out.
|
||||
|
||||
errorcode: Dict[int, str]
|
||||
"""
|
||||
Dictionary mapping numeric error codes to strings with symbolic error
|
||||
code (see above)::
|
||||
|
||||
>>> print(uerrno.errorcode[uerrno.EEXIST])
|
||||
EEXIST
|
||||
Dictionary that maps numeric error codes to strings with symbolic error code.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user