x11fs icon indicating copy to clipboard operation
x11fs copied to clipboard

Completion of error handling

Open elfring opened this issue 9 years ago • 4 comments

Would you like to add more error handling for return values from functions like the following?

elfring avatar Mar 10 '16 10:03 elfring

Thanks very much for pointing this out, will fix shortly.

sdhand avatar Mar 10 '16 11:03 sdhand

Actually, a large number of functions used are capable of failing, and there is little code in-place to handle it. I'll be more than happy to help you out with this if you would like.

HalosGhost avatar Mar 10 '16 14:03 HalosGhost

@sdhand, there are two distinct types of calls that we can make for any server request - in general a checked and unchecked type. https://xcb.freedesktop.org/manual/structxcb__generic__error__t.html and, it seems that we aren't doing very much on the event loop. So, I'm wondering if you would prefer we swap over to all of our calls being checked calls, so that we can immediately handle errors should they arise with the use of a follow up call - or if you'd like to just use a pass/fail approach to a call and lose the ability to narrow down errors?

halfwit avatar Apr 23 '16 20:04 halfwit

Save for event, naturally

halfwit avatar Apr 24 '16 02:04 halfwit