mirror of https://github.com/pulumi/pulumi.git
615bd0f0e7
cmdutil has some special handling for hashicorp/go-multierror so that multi-errors are printed cleanly in the form: %d errors occurred: 1) foo 2) bar ... In Go 1.20, the errors package got a native `errors.Join` function. This adds support for errors.Join-based multi-errors to this logic. These errors implement an `Unwrap() []error` method which can be used to access the full list of errors. We use that and then implement the same logic for formatting as before. |
||
---|---|---|
.. | ||
archive | ||
buildutil | ||
ciutil | ||
cmdutil | ||
contract | ||
deepcopy | ||
env | ||
executable | ||
fsutil | ||
gitutil | ||
goversion | ||
httputil | ||
logging | ||
mapper | ||
result | ||
retry | ||
rpcutil | ||
yamlutil |