chapel-lang / chapel

a Productive Parallel Programming Language
https://chapel-lang.org
Other
1.78k stars 419 forks source link

Add Error hierarchy for ZMQ errors #12397

Open lydia-duncan opened 5 years ago

lydia-duncan commented 5 years ago

Today, setsockopt (at least) has a halt if an error occurred during its operations. Looking at the ZeroMQ header file in my build, it seems like the library uses different error codes than the normal ones. It would be good for us to:

lydia-duncan commented 5 years ago

The new functions I am adding in #12708 will use a ZMQError class, but there are still methods in this module that halt. Also, we still want to have some sort of hierarchy