func (e *errorList) Last() error {
	if len(e.recordedErrors) == 0 {
		return nil
	}
	return e.recordedErrors[len(e.recordedErrors)-1]
}
// Last gets the final error returned by the retry, this is special because it's usually the one you want
Last gets the final error returned by the retry, this is special because it's usually the one you want
// Last gets the final error returned by the retry this is special because it ' s usually the one you want
func (e *errorList) Last() error {
	if len(e.recordedErrors) == 0 {
		return nil
	}
	return e.recordedErrors[len(e.recordedErrors)-1]
}
func ( e * errorList ) Last ( ) error { if len ( e . recordedErrors ) == 0 { return nil } return e . recordedErrors [ len ( e . recordedErrors ) - 1 ] }
Last gets the final error returned by the retry, this is special because it's usually the one you want
Last gets the final error returned by the retry this is special because it ' s usually the one you want