Skip to content

Consider ErrorHandlingMiddleware turning arbitrary errors into JSON error bodies #677

Open
@czechboy0

Description

@czechboy0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementImprovements to existing feature.status/needs-designNeeds further discussion and a concrete proposal.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions