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

Implement std::error::Error for Uri errors #6

Open
spacebear21 opened this issue Jan 30, 2025 · 0 comments
Open

Implement std::error::Error for Uri errors #6

spacebear21 opened this issue Jan 30, 2025 · 0 comments

Comments

@spacebear21
Copy link

Seems like these bitcoin_uri errors should be std::error::Error if std is available, as rust-bitcoin is (they're really fancy about this), and then .map_err(Box::from) would be appropriate to keep the full error information. But I recognize this is aspirational and extremely detailed. Something to note in bitcoin_uri for completeness.

Originally posted by @DanGould in payjoin/rust-payjoin#512 (comment)

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

No branches or pull requests

1 participant