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

Backend: new exn type that includes currency #249

Merged
merged 1 commit into from
Jan 20, 2024
Merged

Backend: new exn type that includes currency #249

merged 1 commit into from
Jan 20, 2024

Conversation

webwarrior-ws
Copy link
Contributor

Add new exception type that wraps ResultInconsistencyException when checking for balances and includes currency for which the operation has failed.

Fixes #246

Add new exception type that wraps ResultInconsistencyException
when checking for balances and includes currency for which the
operation has failed.

Fixes #246
@knocte
Copy link
Member

knocte commented Jan 20, 2024

@webwarrior-ws you had made a mistake, you were adding a try-with block in a part of the code in which it didn't have any effect. FYI I fixed this mistake, and this gave me an idea for an FSharpLint rule that we might want to work on at some point: fsprojects/FSharpLint#686

@knocte knocte merged commit 8fa47e0 into nblockchain:stable Jan 20, 2024
19 checks passed
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