-
Notifications
You must be signed in to change notification settings - Fork 0
Give a good error for duplicated fields #4
Copy link
Copy link
Open
Labels
errorsRelated to error messages & their UXRelated to error messages & their UXgood first issueGood for newcomersGood for newcomers
Description
It would be nice to be able to point at the exact fields that are duplicated, instead of just pointing out that they are.
FieldFlags.jl/src/FieldFlags.jl
Line 155 in 9d9591e
| allunique(filter(!=(:_), fieldtuple)) || throw(ArgumentError("Fields need to be uniquely identifiable!")) |
FieldFlags.jl/src/FieldFlags.jl
Line 514 in 9d9591e
| allunique(filter(!=(:_), fields)) || throw(ArgumentError("Fields need to be uniquely identifiable!")) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
errorsRelated to error messages & their UXRelated to error messages & their UXgood first issueGood for newcomersGood for newcomers