django-formidable icon indicating copy to clipboard operation
django-formidable copied to clipboard

Add a distinctive "code" to all ValidationErrors

Open brunobord opened this issue 6 years ago • 0 comments

As the Django documentation suggests, Django ValidationErrors exceptions should

Provide a descriptive error code to the constructor

This was a "django-only" feature, and was not compatible with DRF errors embedded in the version <=3.3.

When the #239 will be closed, we'll have to make a pass on every ValidationError raised in our code, and provide the appropriate code.

brunobord avatar Aug 28 '17 13:08 brunobord