Hello! As I understand it, the abort handler is the only way catch fatal errors in the library, like the inability to connect to the server or something similar. Its a simple C function pointer.
The problem I have with this is that I use the library from within Objective-C classes and I want my objects to handle possible errors. I can't see a practical way to redirect the control flow back to my object in such a case.
A lot of libraries that work with handler functions give you the opportunity to pass along with the function pointer a user data object that will be provided to the handler when invoked. It would be nice to see something similar for the abort handler because at the moment I am limited in how I can react to fatal errors in zdb.
Best regards, Jacob