mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 09:05:07 +00:00
29 lines
611 B
ReStructuredText
29 lines
611 B
ReStructuredText
:mod:`uerrno <uerrno>` -- Error codes
|
|
============================================================
|
|
|
|
.. module:: uerrno
|
|
|
|
The ``errno`` attribute of an :ref:`OSError <OSError>` indicates why this
|
|
exception was raised. This attribute has one of the following values.
|
|
See also :ref:`this example <device_detection>`.
|
|
|
|
.. autodata:: uerrno.EAGAIN
|
|
|
|
.. autodata:: uerrno.EBUSY
|
|
|
|
.. autodata:: uerrno.ECANCELED
|
|
|
|
.. autodata:: uerrno.EINVAL
|
|
|
|
.. autodata:: uerrno.EIO
|
|
|
|
.. autodata:: uerrno.ENODEV
|
|
|
|
.. autodata:: uerrno.EOPNOTSUPP
|
|
|
|
.. autodata:: uerrno.EPERM
|
|
|
|
.. autodata:: uerrno.ETIMEDOUT
|
|
|
|
.. autodata:: uerrno.errorcode
|