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 #18

Closed
elfring opened this issue Aug 28, 2015 · 4 comments
Closed

Completion of error handling #18

elfring opened this issue Aug 28, 2015 · 4 comments

Comments

@elfring
Copy link

elfring commented Aug 28, 2015

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

@mom040267
Copy link
Contributor

The errors, if happened in those places, are the sign that something is very very wrong with the system. Those errors may never happen under normal circumstances. If the server crashes after that, that's totally OK.

@elfring
Copy link
Author

elfring commented Aug 29, 2015

I suggest to avoid ignorance of return values a bit more.

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?

@mom040267
Copy link
Contributor

no, I think that we are good with what we have now.

Thanks
Oleg

On Sat, Aug 29, 2015 at 12:52 AM, Markus Elfring notifications@github.com
wrote:

I suggest to avoid ignorance of return values
https://cwe.mitre.org/data/definitions/252.html a bit more.

Are you interested to apply aspect-oriented software development
http://aspectc.org/?
How do you think about to encapsulate error detection and corresponding
exception handling as a reusable aspect
http://en.wikipedia.org/wiki/Aspect_%28computer_programming%29 in your
software?


Reply to this email directly or view it on GitHub
#18 (comment).

@elfring
Copy link
Author

elfring commented Aug 29, 2015

Would you like to detect every error situation as early as possible?
How do you think about to improve static source code analysis also for your software?

Do you find information sources like the following useful?

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