summaryrefslogtreecommitdiff
path: root/errors/debug_cap.go
diff options
context:
space:
mode:
Diffstat (limited to 'errors/debug_cap.go')
-rwxr-xr-xerrors/debug_cap.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/errors/debug_cap.go b/errors/debug_cap.go
new file mode 100755
index 00000000..2c8a2f78
--- /dev/null
+++ b/errors/debug_cap.go
@@ -0,0 +1,10 @@
+// +build !debug
+
+package errors
+
+import "bytes"
+
+type stack struct{}
+
+func (e *Error) populateStack() {}
+func (e *Error) printStack(*bytes.Buffer) {}