Documentation ¶
Overview ¶
Package chezmoierrors contains convenience functions for combining multiple errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combine ¶
Combine combines all non-nil errors in errs into one. If there are no non-nil errors, it returns nil. If there is exactly one non-nil error then it returns that error. Otherwise, it returns the non-nil errors combined with errors.Join.
func CombineFunc ¶
CombineFunc combines the error pointed to by errp with the result of calling f.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.