Refactor storkutil.CombineErrors
storkutil.CombineErrors
was implemented to merge multiple errors into one. It is using the WithMessage
function which puts colons between the errors. This is not good because a colon usually precedes the details of a particular error. It is not used for splitting independent errors. So instead of producing an error like this: error1: error2
we should produce an error like this: error1; error2
.
Also see the related discussion here: !732 (comment 443871)