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
feat: add methods to create variants of the iroh-base::ticket::ParseError enum. (#3362)
## Description
Adds a `From` impl for `postcard::Error`, and adds
`ParseError::verification_failed` and `ParseError::wrong_prefix`
methods.
## Open Questions
Should we add a variant to `ParseError` for a more "open ended" error,
like we do for `protocol::AcceptError`? Something like
`ParseError::Custom`?
## Change checklist
<!-- Remove any that are not relevant. -->
- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
---------
Co-authored-by: “ramfox” <“kasey@n0.computer”>
0 commit comments