Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit 7f46da0

Browse files
committed
update godoc
1 parent c5fe904 commit 7f46da0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

errors.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,13 @@
4949
// invoked. This information can be retrieved with the following interface.
5050
//
5151
// type Stacktrace interface {
52-
// Stacktrace() []Frame
52+
// Stacktrace() errors.Stacktrace
5353
// }
5454
//
55+
// Where errors.Stacktrace is defined as
56+
//
57+
// type Stacktrace []Frame
58+
//
5559
// The Frame type represents a call site in the stacktrace. Frame supports
5660
// the fmt.Formatter interface that can be used for printing information about
5761
// the stacktrace of this error. For example:

0 commit comments

Comments
 (0)