Skip to content

Allow handlers to respond with specific validation errors #8

Open
@thclark

Description

@thclark

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

Metadata

Metadata

Assignees

Labels

featureA new feature of the app

Type

No type

Projects

Status

Priority 2 (Medium)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions