-
Notifications
You must be signed in to change notification settings - Fork 381
Document error handling #1926
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
base: main
Are you sure you want to change the base?
Document error handling #1926
Conversation
Closes: containers#1860 Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Reviewer's GuideAdds a new design document describing the standard error-handling conventions for C source files under src/, including expected function signatures, success/failure return patterns, and libcrun_error_s usage, with a placeholder section for documented exceptions. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Thanks for tackling this one! Do you think we could also add an |
|
TMT tests failed. @containers/packit-build please check. |
WIP (work-in-progress)
Note, not all crun source code follows the suggested error handling convention
For example
where a negative value is returned but there is no allocated libcrun_error_s (in line 1571).
Closes: #1860
Summary by Sourcery
Documentation: