Rewrite Go error handling code between errors, golang.org/x/xerrors and github.com/pkg/errors
APACHE-2.0 License