MHDRValidationError is the validation error returned by MHDR.ValidateFields if the designated constraints aren't met.
| 265 | // MHDRValidationError is the validation error returned by MHDR.ValidateFields |
| 266 | // if the designated constraints aren't met. |
| 267 | type MHDRValidationError struct { |
| 268 | field string |
| 269 | reason string |
| 270 | cause error |
| 271 | key bool |
| 272 | } |
| 273 | |
| 274 | // Field function returns field value. |
| 275 | func (e MHDRValidationError) Field() string { return e.field } |
nothing calls this directly
no outgoing calls
no test coverage detected