Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion of error handling #2

Open
elfring opened this issue Dec 20, 2022 · 3 comments
Open

Completion of error handling #2

elfring opened this issue Dec 20, 2022 · 3 comments

Comments

@elfring
Copy link

elfring commented Dec 20, 2022

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

lnde pushed a commit that referenced this issue Sep 19, 2023
Tested with closed stdout. Mentioned in #2.
@lnde
Copy link
Owner

lnde commented Sep 19, 2023

@elfring Now checking for fflush errors but I don't see the point in handling return values for fprintf to stdout.

@elfring
Copy link
Author

elfring commented Sep 20, 2023

I suggest to avoid ignorance of return values a bit more.
How do you think about to care also if a file output really succeeded? 🤔

@elfring
Copy link
Author

elfring commented Sep 20, 2023

💭 Would you become 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? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants