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 type convention #33

Open
mappum opened this issue Aug 25, 2020 · 0 comments
Open

Error type convention #33

mappum opened this issue Aug 25, 2020 · 0 comments

Comments

@mappum
Copy link
Contributor

mappum commented Aug 25, 2020

We will probably eventually need a more advanced convention for error types - we currently just use the one-size-fits-all failure::Error, but this might be hard when we need to match on error types in the future. It might work to use failure::Fail enums everywhere and still use failure::Error then just attempt to downcast, but we should experiment first before applying a convention to the whole codebase.

@cwlittle cwlittle mentioned this issue Oct 18, 2021
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