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

error messages are printed to the terminal #18

Open
grahamgower opened this issue May 25, 2022 · 0 comments
Open

error messages are printed to the terminal #18

grahamgower opened this issue May 25, 2022 · 0 comments

Comments

@grahamgower
Copy link
Owner

Return error messages up the call stack to the library's public functions (demes_graph_load(), demes_graph_parse()), rather than printing to the terminal. This makes error propagation much messier, and we must be careful not to allocate memory for ENOMEM errors, but this is the right thing to do for a general purpose library.

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

1 participant