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

Supply receiver Well Known Errrors #53

Closed
DanGould opened this issue Apr 15, 2023 · 0 comments · Fixed by #120
Closed

Supply receiver Well Known Errrors #53

DanGould opened this issue Apr 15, 2023 · 0 comments · Fixed by #120
Labels
api enhancement New feature or request help wanted Extra attention is needed send sending payjoin
Milestone

Comments

@DanGould
Copy link
Contributor

DanGould commented Apr 15, 2023

Right now process_response only decodes a successful PSBT which it validates. Error response bodies should also be parsed to be displayed safely to end users. As specified in the well known errors section of BIP 78.

Errors from process_response may be improved by being separated into safe ReceiverError::WellKnown standard error types that can be displayed in the UI and ReceiverError::DebugOnly which "can only appear in debug logs." Separation would simplify an integration's error handling.

@DanGould DanGould added the enhancement New feature or request label Apr 15, 2023
@DanGould DanGould added the receive receiving payjoin label May 27, 2023
@DanGould DanGould added this to the 0.10.0 milestone Jul 31, 2023
@DanGould DanGould added api help wanted Extra attention is needed labels Sep 28, 2023
@DanGould DanGould added send sending payjoin and removed receive receiving payjoin labels Dec 13, 2023
DanGould added a commit that referenced this issue Dec 27, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Payjoin Roadmap 📝 Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request help wanted Extra attention is needed send sending payjoin
Projects
Status: Done
1 participant