func (e *errorList) Error() string {
	errList := make([]string, len(e.recordedErrors))
	for i, err := range e.recordedErrors {
		errList[i] = err.Error()
	}
	return "retries exceeded; encountered errors: " + strings.Join(errList, ", ")
}
// Error is a default message. Override to make your own.
Error is a default message. Override to make your own.
// Error is a default message . Override to make your own .
func (e *errorList) Error() string {
	errList := make([]string, len(e.recordedErrors))
	for i, err := range e.recordedErrors {
		errList[i] = err.Error()
	}
	return "retries exceeded; encountered errors: " + strings.Join(errList, ", ")
}
func ( e * errorList ) Error ( ) string { errList := make ( [ ] string , len ( e . recordedErrors ) ) for i , err := range e . recordedErrors { errList [ i ] = err . Error ( ) } return " " + strings . Join ( errList , " " ) }
Error is a default message.
Error is a default message .