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 Types #3

Closed
chunningham opened this issue Aug 26, 2020 · 1 comment
Closed

Error Types #3

chunningham opened this issue Aug 26, 2020 · 1 comment

Comments

@chunningham
Copy link
Contributor

Currently, all Result::Err variant types are all typed as String wherever a Result is used.

This should be changed. A crate-wide Error enum should be defined with a From<E> impl for each dependancy error type, along with a crate-wide Result<T> which always uses the aformentioned Error enum for it's error type.

@chunningham
Copy link
Contributor Author

closed by #7

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