You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #302: refactor: have a structured IndexOutOfBoundsError type
42d9b90 refactor!: have a structured IndexOutOfBoundsError type (chaitika)
Pull request description:
### Description
Fixes#267
### Notes to the reviewers
I can rebase to master after #298 is merged to fix fmt errors.
### Changelog notice
```md
Added
- newtype `IndexOutOfBoundsError`
Changed
- `PolicyError::IndexOutOfRange` now wraps a `IndexOutOfBoundsError`
- `SignerError::InputIndexOutOfRange` now wraps a `IndexOutOfBoundsError`
```
### Checklists
#### All Submissions:
* [X] I've signed all my commits
* [X] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md)
* [X] I ran `just p` before pushing
#### New Features:
* [ ] I've added tests for the new feature
* [ ] I've added docs for the new feature
#### Bugfixes:
* [x] This pull request breaks the existing API
* [ ] I've added tests to reproduce the issue which are now passing
* [X] I'm linking the issue being fixed by this PR
ACKs for top commit:
ValuedMammal:
ACK 42d9b90
Tree-SHA512: 1ea31ff611f4ab03aba4b01ee898a3bbb2ef9393554408ccc5f70a2f04ec73e26b7654455e935537ef2c63d0cc5acf4330cfd964608462568d84f0b43147013a
0 commit comments