Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
davenewza committed Oct 29, 2023
1 parent f515b26 commit 41492dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema/validation/errorhandling/errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ en:
E002:
message: "Action names should be written in lowerCamelCase"
hint: "Did you mean '{{ .Suggested }}'?"
E003:
message: "Cannot use '{{ .Name }}' as it has already been defined on this model"
hint: "Rename this field to some other name which has not yet been defined"
E004:
message: "You have duplicate actions Model:{{ .Model }} Name:{{ .Name }}"
hint: "Remove '{{ .Name }}' on line {{ .Line }}"
E005:
message: "Action inputs must be one of the fields defined in the model"
hint: "{{ .Suggested }}"
E006:
message: "Cannot use '{{ .Name }}' as it already exists as a built-in field"
hint: "Rename this field to some other name which has not yet been defined"
E008:
message: "Action {{ .Name }} must either take a unique field as input or filter on a unique field using a @where attribute"
hint: "Did you mean to add 'id' as an input?"
Expand Down

0 comments on commit 41492dc

Please sign in to comment.