wgctrl-go icon indicating copy to clipboard operation
wgctrl-go copied to clipboard

wgtypes: add Error type

Open mdlayher opened this issue 7 years ago • 0 comments

At the moment I'm doing some kind of nasty fmt.Errorf in internal/wguser, and internal/wgnl is propagating raw unix.Errno errors I believe. We should wrap these in a nicer error type and consider implementing our own version of IsNotExist and similar that provides more detail than the stdlib one we are using now.

mdlayher avatar Aug 10 '18 16:08 mdlayher