From 41492dc399264df51faa0efcf873bd1f82838e7b Mon Sep 17 00:00:00 2001 From: Dave New Date: Sun, 29 Oct 2023 16:45:12 +0200 Subject: [PATCH] chore: clean up --- schema/validation/errorhandling/errors.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schema/validation/errorhandling/errors.yml b/schema/validation/errorhandling/errors.yml index 26ffe9fea..f4d460306 100644 --- a/schema/validation/errorhandling/errors.yml +++ b/schema/validation/errorhandling/errors.yml @@ -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?"