This document is for py-amqp's development version, which can be significantly different from previous releases. Get the stable docs here: 2.4.
amqp.utils
¶
Compatibility utilities.
-
amqp.utils.
get_errno
(exc)[source]¶ Get exception errno (if set).
- Notes:
socket.error
andIOError
first got the.errno
attribute in Py2.7.