Error returns a concatenation of all the error messages it wraps.
()
| 1038 | |
| 1039 | // Error returns a concatenation of all the error messages it wraps. |
| 1040 | func (m ListUserReplyMultiError) Error() string { |
| 1041 | var msgs []string |
| 1042 | for _, err := range m { |
| 1043 | msgs = append(msgs, err.Error()) |
| 1044 | } |
| 1045 | return strings.Join(msgs, "; ") |
| 1046 | } |
| 1047 | |
| 1048 | // AllErrors returns a list of validation violation errors. |
| 1049 | func (m ListUserReplyMultiError) AllErrors() []error { return m } |