Error returns a concatenation of all the error messages it wraps.
()
| 938 | |
| 939 | // Error returns a concatenation of all the error messages it wraps. |
| 940 | func (m ListUserRequestMultiError) Error() string { |
| 941 | var msgs []string |
| 942 | for _, err := range m { |
| 943 | msgs = append(msgs, err.Error()) |
| 944 | } |
| 945 | return strings.Join(msgs, "; ") |
| 946 | } |
| 947 | |
| 948 | // AllErrors returns a list of validation violation errors. |
| 949 | func (m ListUserRequestMultiError) AllErrors() []error { return m } |