ReturnAnyErr¶
func ReturnAnyErr(values ...any) error
ReturnAnyErr returns the first error found in the list of values, if any. This is useful when dealing with variadic functions that may return errors.
func ReturnAnyErr(values ...any) error
ReturnAnyErr returns the first error found in the list of values, if any. This is useful when dealing with variadic functions that may return errors.