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 |
||
|---|---|---|
| .. | ||
| action | ||
| api | ||
| common | ||
| readdb | ||
| configstore_test.go | ||
| configstore.go | ||