func Combine
Combine merges multiple errors into a single error efficiently. It handles several cases:
- If all input errors are nil, returns nil
- If there's exactly one non-nil error, returns that error directly
- If there are multiple non-nil errors, returns a multiError containing them
- Flattens any *multiError in the input