MCPcopy
hub / github.com/go-playground/validator / Error

Method Error

errors.go:155–155  ·  view source on GitHub ↗

Error returns the FieldError's message

()

Source from the content-addressed store, hash-verified

153
154 // Error returns the FieldError's message
155 Error() string
156}
157
158// compile time interface checks

Callers 15

TestMapDiveValidationFunction · 0.65
TestArrayDiveValidationFunction · 0.65
TestInvalidStructFunction · 0.65
TestTranslationsFunction · 0.65
TestTranslationErrorsFunction · 0.65
TestStructFilteredFunction · 0.65
panicIfFunction · 0.65
ErrorMethod · 0.65
mainFunction · 0.65
translateFuncFunction · 0.65

Implementers 1

fieldErrorerrors.go

Calls

no outgoing calls

Tested by 7

TestMapDiveValidationFunction · 0.52
TestArrayDiveValidationFunction · 0.52
TestInvalidStructFunction · 0.52
TestTranslationsFunction · 0.52
TestTranslationErrorsFunction · 0.52
TestStructFilteredFunction · 0.52