Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Append ¶
Append combines the provided errors into a single error. Any nil-value error will be effectively dropped (since it's not an error), and if all errors are nil, then nil is returned
func Is ¶
Is wraps golang's errors.Is function to provide easier use when using this package and golang's underlying errors package
func MaybeWrap ¶
MaybeWrap conditionally wraps an error. if the provided error is nil, then nil will be returned otherwise, the error will be wrapped as per the errors.Wrap function
func MultiErrorPrintFormat ¶
MultiErrorPrintFormat provides the common error printing function for hashicorp/go-multierror Format is err1 : err2 : ... : errN (roughly equivalement to strings.Join(errs, " : ") )
Types ¶
This section is empty.