diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-01-15 13:24:38 -0800 |
---|---|---|
committer | Josh Bleecher Snyder <josh@tailscale.com> | 2021-01-25 08:47:48 -0800 |
commit | a029b942ae25be8ea31a4945198617c76c31abcd (patch) | |
tree | 447f3c1df521f78229163b4dbabc40b2671d06db /device/noise_test.go | |
parent | db3fa1409cae2113df73f1641d9fb1830fbcc696 (diff) |
device: expand IPCError
Expand IPCError to contain a wrapped error,
and add a helper to make constructing such errors easier.
Add a defer-based "log on returned error" to IpcSetOperation.
This lets us simplify all of the error return paths.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'device/noise_test.go')
0 files changed, 0 insertions, 0 deletions