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

Use failure for Pool and Committed erros #2570

Merged
merged 1 commit into from
Feb 13, 2019

Conversation

hashmap
Copy link
Contributor

@hashmap hashmap commented Feb 13, 2019

It doesn't play nice with failure-based error management, we have to
throw away an exisiting error and create a new one (failure-based)

It doesn't play nice with failure-based error management, we have to
throw away an exisiting error and create a new one (failure-based)
Copy link
Member

@antiochp antiochp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what we started doing in the wallet code?
Seems like a good direction to go in (but I'm still not entirely clear on the final state of our error handling here).

@ignopeverell ignopeverell merged commit 5d90425 into mimblewimble:master Feb 13, 2019
@hashmap
Copy link
Contributor Author

hashmap commented Feb 13, 2019

@antiochp yes, also we introduced it in many crates. I'm with you, Rust error management could be improved.

@hashmap hashmap deleted the failure-error branch April 4, 2019 10:13
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.

3 participants