Consider ErrorHandlingMiddleware turning arbitrary errors into JSON error bodies #677
Labels
kind/enhancement
Improvements to existing feature.
status/needs-design
Needs further discussion and a concrete proposal.
Motivation
See the discussion on this thread, we left it out of the implementation of SOAR-0011: apple/swift-openapi-runtime#126 (comment)
Proposed solution
We should consider it as an opt-in feature, similar behavior to Vapor (which enables it for debug only automatically).
Alternatives considered
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: