zeromq/clrzmq2 — Issue #32: Exception & Errno Consistency with underlying lib
Author: dowlingw
Created: 2011-11-03 01:34:37+00:00
State: open

Some improvements to make the error handling more consistent:

* ZMQ.ERRNOS should be updated to include all ZMQ error codes
* ZMQ.ERRNOS.EAGAIN (and any other platform-dependant values exposed from the ZEROMQ lib) should contain the correct value for the target platform (WIN/POSIX)
* ZMQ.Exception.Errno should be parsed into a ZMQ.ERRNOS value

These changes would help projects utilising this library handle exceptions cleanly without having to assume things about the 0MQ library at the lower layer.