In Django, there is the concept of “non_field_errors”, which exists when a form field has an error that is not specific to any model field.
I am just wondering if there is a similar convention in Ecto. I have an error that is not specific to a single field. How should I describe it? Should I just use the django naming convention for the field, e.g. :non_field_errors
? For example:
Ecto.Changeset.add_error(changeset, :non_field_errors, "some reason")
Just checking for recommendations. Thanks