Skip to content

Comments

Use explicit error conversion where there might be ambiguity#585

Merged
DanGould merged 2 commits intopayjoin:masterfrom
DanGould:explicit-err-conversions
Mar 26, 2025
Merged

Use explicit error conversion where there might be ambiguity#585
DanGould merged 2 commits intopayjoin:masterfrom
DanGould:explicit-err-conversions

Conversation

@DanGould
Copy link
Contributor

@DanGould DanGould commented Mar 17, 2025

#570 (comment)

The SystemTime Expired variant is explicitly constructed.

I want to check how the ParseUrl errors are converted too before this goes in.

I think the ParseUrl errors can be handled as part of #513 when the variants become public

@coveralls
Copy link
Collaborator

coveralls commented Mar 17, 2025

Pull Request Test Coverage Report for Build 14087223151

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.06%) to 81.45%

Totals Coverage Status
Change from base Build 14044917943: 0.06%
Covered Lines: 5089
Relevant Lines: 6248

💛 - Coveralls

The Expired variant is explicitly constructed.
From impls are part of the public API. Since this is unused, let's
remove it so it doesn't need to be maintained.
@DanGould DanGould added the api label Mar 26, 2025
@DanGould DanGould force-pushed the explicit-err-conversions branch from b5fe827 to 4269128 Compare March 26, 2025 15:29
@DanGould DanGould marked this pull request as ready for review March 26, 2025 15:45
@DanGould DanGould requested a review from spacebear21 March 26, 2025 15:45
Copy link
Collaborator

@spacebear21 spacebear21 left a comment

Choose a reason for hiding this comment

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

ACK 4269128

@DanGould DanGould merged commit ded33f1 into payjoin:master Mar 26, 2025
7 checks passed
@DanGould DanGould deleted the explicit-err-conversions branch March 26, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants