summaryrefslogtreecommitdiff
path: root/libgo/go/golang.org/x/xerrors/internal/internal.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-01-02 15:05:27 -0800
committerIan Lance Taylor <iant@golang.org>2020-01-21 23:53:22 -0800
commit5a8ea165926cb0737ab03bc48c18dc5198ab5305 (patch)
tree962dc3357c57f019f85658f99e2e753e30201c27 /libgo/go/golang.org/x/xerrors/internal/internal.go
parent6ac6529e155c9baa0aaaed7aca06bd38ebda5b43 (diff)
libgo: update to Go1.14beta1
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/214297
Diffstat (limited to 'libgo/go/golang.org/x/xerrors/internal/internal.go')
-rw-r--r--libgo/go/golang.org/x/xerrors/internal/internal.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgo/go/golang.org/x/xerrors/internal/internal.go b/libgo/go/golang.org/x/xerrors/internal/internal.go
new file mode 100644
index 00000000000..89f4eca5df7
--- /dev/null
+++ b/libgo/go/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