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

Informative error messages #20

Open
noamross opened this issue Mar 23, 2018 · 0 comments
Open

Informative error messages #20

noamross opened this issue Mar 23, 2018 · 0 comments
Labels

Comments

@noamross
Copy link
Collaborator

Errors such as #13 could have more informative error messages, especially when faterize behavior does diverge from rasterize.

This might be useful in error message writing: http://style.tidyverse.org/error-messages.html

We want to minimize or eliminate overhead of any overhead or assertions, so ideally we do this using error-catching in C++ so that our error code only runs when the error would happen anyway, and not in correctly-executed function calls. (http://gallery.rcpp.org/articles/intro-to-exceptions/)

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

No branches or pull requests

1 participant