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

feat: error handling #7

Merged
merged 4 commits into from
Oct 5, 2024
Merged

feat: error handling #7

merged 4 commits into from
Oct 5, 2024

Conversation

bittermandel
Copy link
Contributor

This removes all uses of unwrap and expect outside of tests.

Thiserror is used to group all possible errors into ValvError, which can be matched on to define specific branches when needed.

@bittermandel
Copy link
Contributor Author

Clippy + Prost = 😢
tokio-rs/prost#1170

@bittermandel bittermandel merged commit 1b3cc9c into main Oct 5, 2024
2 checks passed
@bittermandel bittermandel deleted the error-handling branch October 5, 2024 14:10
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.

1 participant