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

Library development: error handling #412

Merged
merged 135 commits into from
May 23, 2022
Merged

Library development: error handling #412

merged 135 commits into from
May 23, 2022

Conversation

mostofi
Copy link
Member

@mostofi mostofi commented Apr 7, 2022

Redesign of the handling of error conditions to ardently defer program exit to the calling program. Error conditions potentially generated in different parts of the code are caught after each subroutine call, returned up the call graph, and passed to the calling function as an error code together with informative message. This approach has been in part inspired by the work of Bálint Aradi on ErrorFx.

These changes represent "Stage 3" of the library developments described here: https://github.com/wannier-developers/wannier90/wiki/Code-restructure-(2021-2022)

Jerome Jackson and others added 30 commits November 5, 2021 14:01
(also add a temporary new io_stopwatch to allow seedname to be deleted)
Jerome Jackson and others added 24 commits February 28, 2022 12:04
Library development: error handling
@jryates jryates merged commit 897a527 into develop May 23, 2022
@JeromeCCP9 JeromeCCP9 deleted the libdev_error-handling branch November 24, 2022 16:42
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

Successfully merging this pull request may close these issues.

None yet

4 participants