boulder/web
Aaron Gable 2c28c4799c
ProblemDetails no longer implements Error (#8078)
Remove the .Error() method from probs.ProblemDetails, so that it can no
longer be returned from functions which return an error. Update various
call sites to use the .String() method to get a textual representation
of the problem instead. Simplify ProblemDetailsForError to not
special-case and pass-through ProblemDetails, since they are no longer a
valid input to that function.

This reduces instances of "boxed nil" bugs, and paves the way for all of
the WFE methods to be refactored to simply return errors instead of
writing them directly into the response object.

Part of https://github.com/letsencrypt/boulder/issues/4980
2025-03-28 13:36:26 -05:00
..
context.go Add Identifiers to Authorization & Order structs (#7961) 2025-03-26 10:30:24 -07:00
context_test.go web: add feature flag PropagateCancels (#7778) 2024-11-04 14:37:29 -08:00
docs.go Factor out context.go from wfe and wfe2. (#3086) 2017-09-26 13:54:14 -04:00
jwk.go Upgrade go-jose from v2.6.1 to v.4.0.1 (#7345) 2024-04-02 17:49:51 -04:00
probs.go ProblemDetails no longer implements Error (#8078) 2025-03-28 13:36:26 -05:00
probs_test.go ProblemDetails no longer implements Error (#8078) 2025-03-28 13:36:26 -05:00
relative.go Remove BaseURL from WFE config. (#3540) 2018-03-09 11:04:02 +00:00
send_error.go WFE: Suppress logging of probs.PausedProblem (#7719) 2024-09-26 11:20:26 -04:00
send_error_test.go WFE: Suppress logging of probs.PausedProblem (#7719) 2024-09-26 11:20:26 -04:00
server.go sfe: Implement self-service frontend for account pausing/unpausing (#7500) 2024-07-10 10:52:33 -04:00
server_test.go sfe: Implement self-service frontend for account pausing/unpausing (#7500) 2024-07-10 10:52:33 -04:00