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

Rename BoltzError to Generic #96

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Rename BoltzError to Generic #96

merged 2 commits into from
Apr 19, 2024

Conversation

ok300
Copy link
Contributor

@ok300 ok300 commented Apr 19, 2024

Since the error type doesn't refer to Boltz specifically, but covers a variety of errors kinds, it's renamed to Generic.

@ok300 ok300 requested review from hydra-yse and dangeross and removed request for hydra-yse April 19, 2024 07:09
@@ -13,7 +13,7 @@ enum PaymentError {
"AlreadyClaimed",
"PairsNotFound",
"SignerError",
"BoltzError",
"Generic",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you alphabetically order the variants for readability? In the model also

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, done.

@ok300 ok300 merged commit f138f6a into main Apr 19, 2024
2 checks passed
@ok300 ok300 deleted the ok300-rename-boltzerror branch April 19, 2024 20: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.

3 participants