-
This package provides one important part of the golang error handling equation, but I find myself wanting another one which is provided by https://github.com/hashicorp/errwrap which provides an interf…
-
Go 1.13 adds `%w` to fmt.Errorf which is a first-party replacement for the mgmt errwrap package.
https://blog.golang.org/go1.13-errors
The argument ordering differs slightly, but porting it should…
-
## Overview
Hi @fatih,
Thank you for providing this linter. It has already helped catch several cases where I did not use the `%w` error-wrapping directive in my projects.
It did however flag…
-
Surfaced by errwrap v1.5.0:
```log
/__w/check-cert/check-cert/internal/netutils/net.go:354:27: call could wrap the error with error-wrapping directive %w
/__w/check-cert/check-cert/internal/netut…
-
Hello, thanks for a useful library. Am I correct that it doesn't appear to provide unique competitive advantage to Hashicorp?
Could it (and `hashicorp/errwrap`) be changed to a permissive license? …
-
I realize that `Append()` was fixed at some point to flatten, but I believe it's valuable to have a version of it that does not flatten MultiErrors. Use case: execute a bunch of tasks in parallel, wai…
-
There are several error types in the standard library that wrap errors. [net/url.Error](https://golang.org/pkg/net/url/#Error), for example, 'reports an error and the operation and URL that caused it.…
-
this is frequently repeated; consider something like this:
Api_easyget = (url, cb, that) =>
errcb = (err, data) ->
if(err) #...
else cb(data)
Api_get url, errcb, that
https://github.com/E…
-
- [x] - kubernetes-2024-01-03.zip/kops/vendor/[github.com/hashicorp/errwrap/LICENSE](http://github.com/hashicorp/errwrap/LICENSE)
- [x] - kubernetes-2024-01-03.zip/kops/vendor/[github.com/hashicorp/g…
-
## Versions:
* mgmt version 0.0.21-44-g590a4d0-dirty
* Ubuntu LTS 18.04.1
* go version go1.12.9 linux/amd64
## Description:
When creating an exec resource in mcl, if the same field is def…