-
Notifications
You must be signed in to change notification settings - Fork 329
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
Improve display error formatting #814
Improve display error formatting #814
Conversation
c36a18f
to
d01e822
Compare
Alternate proposal.. Why not use @afilini @notmandatory does that sound like a good approach to take? If yes, @yukibtc are willing to change this PR into that? |
Personally that looks more cleaner to me.. |
Yes, me too. I re-opened the PR #813. |
For reviewers: This is competing to #813 .. |
src/error.rs
Outdated
Self::Miniscript(err) => write!(f, "Miniscript error: {}", err), | ||
Self::MiniscriptPsbt(err) => write!(f, "Miniscript PSBT error: {}", err), | ||
Self::Bip32(err) => write!(f, "BIP32 error: {}", err), | ||
Self::Secp256k1(err) => write!(f, "ECDSA error: {}", err), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this error is necessarily ECDSA?
d01e822
to
fbf4cb0
Compare
We've bumped MSRV to 1.57.0, please rebase. |
fbf4cb0
to
9019793
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 9019793
Description
Closes #555
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingBugfixes: