Chore: Use x/xerrors instead of pkg/errors (#16668)

* Use xerrors instead of pkg/errors

* Add Wrap util func

* Move Wrap to errutil package
This commit is contained in:
Andrej Ocenas
2019-04-23 11:50:31 +02:00
committed by GitHub
parent 54c1bf0cc9
commit c429934a66
20 changed files with 718 additions and 6 deletions

8
vendor/golang.org/x/xerrors/internal/internal.go generated vendored Normal file
View File

@ -0,0 +1,8 @@
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package internal
// EnableTrace indicates whether stack information should be recorded in errors.
var EnableTrace = true