Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wgtypes: add Error type #13

Open
mdlayher opened this issue Aug 10, 2018 · 0 comments
Open

wgtypes: add Error type #13

mdlayher opened this issue Aug 10, 2018 · 0 comments

Comments

@mdlayher
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant