Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMaybeRetryableAggregate ¶
NewMaybeRetryableAggregate converts a slice of errors into a single error value. Nil values will be filtered from the slice. If the filtered slice is empty, the return value will be nil. Else, if any values are non-retryable errors, the result will be an Aggregate interface. Else, if all errors are retryable, the result will be a retryable Error interface, with After() equal to the minimum of all the errors' After() values.
Types ¶
Click to show internal directories.
Click to hide internal directories.