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

Allow handlers to respond with specific validation errors #8

Open
thclark opened this issue Apr 7, 2022 · 0 comments
Open

Allow handlers to respond with specific validation errors #8

thclark opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels
feature A new feature of the app

Comments

@thclark
Copy link
Contributor

thclark commented Apr 7, 2022

Feature request

Use Case

Exceptions raised during event handling are always hidden from the user (for security reasons) and a generic error message delivered. It would be good if we were able to reuse DRF serialisers or something similar to raise ValidationErrors whose stringified messages could be used to form more helpful error messages to the client.

Current state

Generic 400 error message

@thclark thclark self-assigned this Apr 7, 2022
@thclark thclark added experience (UX) feature A new feature of the app labels Apr 7, 2022
@thclark thclark moved this to Priority 2 (Medium) in Octue Board Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature of the app
Projects
Status: Priority 2 (Medium)
Development

No branches or pull requests

1 participant