Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

airframe-http: Support returning custom error responses #697

Closed
xerial opened this issue Sep 11, 2019 · 1 comment
Closed

airframe-http: Support returning custom error responses #697

xerial opened this issue Sep 11, 2019 · 1 comment
Milestone

Comments

@xerial
Copy link
Member

xerial commented Sep 11, 2019

If a server method fails, we need to be able to return a custom http response (status code, error content body)

@xerial xerial added this to the Airframe 20 milestone Mar 17, 2020
@xerial xerial mentioned this issue Dec 4, 2020
90 tasks
@xerial xerial modified the milestones: Airframe 20, Airframe 21 Dec 4, 2020
@xerial
Copy link
Member Author

xerial commented Aug 15, 2021

If HttpServerException is used, we can add HTTP status code and JSON error body message.

@xerial xerial closed this as completed Aug 15, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant