refactor: have a structured IndexOutOfBoundsError type#302
Merged
ValuedMammal merged 1 commit intobitcoindevkit:masterfrom Sep 20, 2025
Merged
Conversation
Pull Request Test Coverage Report for Build 17246072754Details
💛 - Coveralls |
Collaborator
There was a problem hiding this comment.
Concept ACK
📌 I really like that you were able to find places where the new type could be substituted in. If this change were to only add the IndexOutOfBoundsError then I think we could accept it straight away, but since it also touches the public API by changing the PolicyError and SignerError enums, then it may need to be pushed to 3.0. That said, it may not be worth adding features to policy.rs since development has shifted to the miniscript::plan module.
Contributor
|
Ack 1e86fc1! |
1e86fc1 to
42d9b90
Compare
ValuedMammal
approved these changes
Sep 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #267
Notes to the reviewers
I can rebase to master after #298 is merged to fix fmt errors.
Changelog notice
Checklists
All Submissions:
just pbefore pushingNew Features:
Bugfixes: