Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error response #17

Closed
sopta opened this issue Apr 20, 2021 · 2 comments
Closed

Error response #17

sopta opened this issue Apr 20, 2021 · 2 comments

Comments

@sopta
Copy link

sopta commented Apr 20, 2021

Hello,

thanks for this project, it looks very promising. Will be there a possibility to return an error as a JSON? I've tried to write a simple API, but in the case of error, only a text message "Internal server error" is returned. I'd like to specify a structure that holds more information.

@eandre
Copy link
Member

eandre commented Apr 20, 2021

Hey @sopta, you're absolutely right and I've actually been working on this for the past few days!

I'll publish an RFC most likely tomorrow and an initial implementation to follow not long after that.

@sopta
Copy link
Author

sopta commented Apr 20, 2021

Awesome! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants