jeremy-w/objc-zmq — pull request #6 by massix (2011-12-19 01:43:08+00:00)
Title: Objective-C Exceptions

Hi Jeremy,

I was using your Obj-C wrapper for libzmq when I thought it would have been safer to use the NSException(s) for handling zmq errors, so I just implemented a new class (ZMQException, inheriting from NSException) which gives the user a better "Object Oriented" feeling while using the library itself.
The class is init'd using the zmq_strerror() method to initialize the "reason" instance field.

(I'm quite new to Objective-C and I don't know if I've implemented everything in the right way)

Please let me know if I can fix something else and thanks for your work.