Skip to content

WFE: Return err instead of prob from parseRevocation helper#8076

Merged
aarongable merged 1 commit intomainfrom
rev-return-errs
Mar 25, 2025
Merged

WFE: Return err instead of prob from parseRevocation helper#8076
aarongable merged 1 commit intomainfrom
rev-return-errs

Conversation

@aarongable
Copy link
Copy Markdown
Contributor

@aarongable aarongable commented Mar 21, 2025

Change the wfe.parseRevocation function to return error instead of probs.ProblemDetails. This slightly changes some of our user-facing error messages to be more complete and verbose, thanks to how ProblemDetailsForError works.

This is a building block towards making the probs.ProblemDetails type not implement the Error interface, and only be used when rendering errors to the user (i.e. not within Boulder logic itself).

Part of #4980

@aarongable aarongable marked this pull request as ready for review March 21, 2025 20:36
@aarongable aarongable requested a review from a team as a code owner March 21, 2025 20:36
@aarongable aarongable requested review from beautifulentropy, jprenken and jsha and removed request for jsha March 21, 2025 20:36
@aarongable aarongable merged commit f71d2ea into main Mar 25, 2025
12 checks passed
@aarongable aarongable deleted the rev-return-errs branch March 25, 2025 18:25
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