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

fix: refine error sources #49

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

rustaceanrob
Copy link
Collaborator

in Client, the only reason we have an error variant is for constructing the Client, which only throws one type, and sending messages, which also only throws one type of error. i removed the library error and just return those directly. the error in builder is now BuilderError and returns either a missing genesis or database error

Copy link
Collaborator

@ValuedMammal ValuedMammal left a comment

Choose a reason for hiding this comment

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

ACK 20d8dbb

@ValuedMammal ValuedMammal merged commit 419a615 into bitcoindevkit:master Sep 12, 2024
2 checks passed
@rustaceanrob rustaceanrob deleted the err-09-12 branch September 13, 2024 16:47
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.

2 participants