Skip to content

Supply receiver Well Known Errrors #53

Description

@DanGould

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apienhancementNew feature or requesthelp wantedExtra attention is neededsendsending payjoin

    Type

    No type

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions