Don't create an ErrFromRemote wrapping the returned error but wrap the ErrFromRemote Also use xerrors Is/As to get the underlying error to return to api clients while maintaining context for logging |
||
|---|---|---|
| .. | ||
| api.go | ||
| client.go | ||
| executor.go | ||
Don't create an ErrFromRemote wrapping the returned error but wrap the ErrFromRemote Also use xerrors Is/As to get the underlying error to return to api clients while maintaining context for logging |
||
|---|---|---|
| .. | ||
| api.go | ||
| client.go | ||
| executor.go | ||