Skip to content

Rename FFI builder errors to match payjoin crate#1733

Draft
xstoicunicornx wants to merge 1 commit into
payjoin:masterfrom
xstoicunicornx:rename-ReceiverBuilderError
Draft

Rename FFI builder errors to match payjoin crate#1733
xstoicunicornx wants to merge 1 commit into
payjoin:masterfrom
xstoicunicornx:rename-ReceiverBuilderError

Conversation

@xstoicunicornx

Copy link
Copy Markdown
Collaborator

Rename SenderBuilderError to BuildSenderError and
ReceiverBuilderError to BuildReceiverError in payjoin-ffi so the FFI error names mirror the core payjoin crate's naming convention (e.g. payjoin::send::BuildSenderError).

This is a follow up from suggestion made in #1724 (comment).

Claude Fable was used to make these code updates.

Pull Request Checklist

Please confirm the following before requesting review:

Rename SenderBuilderError to BuildSenderError and
ReceiverBuilderError to BuildReceiverError in payjoin-ffi so the
FFI error names mirror the core payjoin crate's naming convention
(e.g. payjoin::send::BuildSenderError).
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 29263197122

Coverage remained the same at 86.01%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 15876
Covered Lines: 13655
Line Coverage: 86.01%
Coverage Strength: 343.76 hits per line

💛 - Coveralls

@xstoicunicornx xstoicunicornx marked this pull request as draft July 13, 2026 16:22
/// Sender Build error
#[error(transparent)]
Build(Arc<SenderBuilderError>),
Build(Arc<BuildSenderError>),

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you could make this Builder to prevent the collision?

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

Successfully merging this pull request may close these issues.

3 participants