Error returns a concatenation of all the error messages it wraps.
()
| 406 | |
| 407 | // Error returns a concatenation of all the error messages it wraps. |
| 408 | func (m UpdateUserReplyMultiError) Error() string { |
| 409 | var msgs []string |
| 410 | for _, err := range m { |
| 411 | msgs = append(msgs, err.Error()) |
| 412 | } |
| 413 | return strings.Join(msgs, "; ") |
| 414 | } |
| 415 | |
| 416 | // AllErrors returns a list of validation violation errors. |
| 417 | func (m UpdateUserReplyMultiError) AllErrors() []error { return m } |