go/*: Add Unwrap to custom errors that have Cause
So that Go1.13 and golang.org/x/xerrors understand the wrapping: https://blog.golang.org/go1.13-errors Preserve Cause for compatibility with github.com/pkg/errors.
Showing
Please register or sign in to comment