wgctrl-go
wgctrl-go copied to clipboard
wgtypes: add Error type
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.