diff --git a/errors.go b/errors.go index 86420b9..9682052 100644 --- a/errors.go +++ b/errors.go @@ -155,6 +155,9 @@ type FieldError interface { // NOTE: if no registered translator can be found it returns the same as // calling fe.Error() Translate(ut ut.Translator) string + + // Error returns the FieldError's message + Error() string } // compile time interface checks