datamaps icon indicating copy to clipboard operation
datamaps copied to clipboard

Completion of error handling

Open elfring opened this issue 11 years ago • 3 comments

I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing.

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

elfring avatar Apr 25 '14 11:04 elfring

Checking for errors in mkdir() would totally make sense and I ought to do it. I can't imagine what useful error checking could be done for printf() there, though.

e-n-f avatar Apr 25 '14 11:04 e-n-f

Would you like to detect every error situation as early as possible?

Are you interested to apply aspect-oriented software development? How do you think about to encapsulate error detection and corresponding exception handling as a reusable aspect in your software?

elfring avatar Apr 25 '14 12:04 elfring

No, not really.

e-n-f avatar Apr 25 '14 12:04 e-n-f