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

Wrap errors #32

Open
arp242 opened this issue Jan 8, 2020 · 0 comments
Open

Wrap errors #32

arp242 opened this issue Jan 8, 2020 · 0 comments
Labels

Comments

@arp242
Copy link
Owner

@arp242 arp242 commented Jan 8, 2020

Might be useful to add a shortcut to convert from return err to return errors.Wrap(err, "") and vice versa.

I need to look in to Go 1.13 errors; I still use github.com/pkg/errors myself (which I still prefer). Should support both.

@arp242 arp242 added the enhancement label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.