aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/xerrors/internal/internal.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/xerrors/internal/internal.go')
-rw-r--r--vendor/golang.org/x/xerrors/internal/internal.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/golang.org/x/xerrors/internal/internal.go b/vendor/golang.org/x/xerrors/internal/internal.go
new file mode 100644
index 000000000..89f4eca5d
--- /dev/null
+++ b/vendor/golang.org/x/xerrors/internal/internal.go
@@ -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