: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
