Skip to content

Support RFC 7807 error handling. #512

@daigok

Description

@daigok

Is your feature request related to a problem? Please describe.
Not relate to a problem.

Describe the solution you'd like
Current error handling is slightly difference from RFC 7807 style. I think it would be better to support standard specification rather than the arbitrary one.

Describe alternatives you've considered
If I customize HTTPException error handling, I can change the response style to follow RFC 7807.

Additional context
Please add RFC 7807 related attributes to HTTPException and also change the response format to follow the specification.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions