django__django-16560
Allow to customize the code attribute of ValidationError raised by BaseConstraint.validate
Verdict: the issue points to the file or function that was changed (Tier B).
Agreed, adding violation_error_code sounds like a good idea as we have a similar mechanism for validators.
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “Agreed, adding violation_error_code sounds like a good idea as we have a similar mechanism for validators.”
All SWE-bench Verified tasks · more django/django tasks · How the check works