mirror of
https://github.com/pkg/errors.git
synced 2025-05-31 11:42:45 +00:00
update godoc
This commit is contained in:
parent
c5fe904864
commit
7f46da032a
@ -49,9 +49,13 @@
|
|||||||
// invoked. This information can be retrieved with the following interface.
|
// invoked. This information can be retrieved with the following interface.
|
||||||
//
|
//
|
||||||
// type Stacktrace interface {
|
// type Stacktrace interface {
|
||||||
// Stacktrace() []Frame
|
// Stacktrace() errors.Stacktrace
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
|
// Where errors.Stacktrace is defined as
|
||||||
|
//
|
||||||
|
// type Stacktrace []Frame
|
||||||
|
//
|
||||||
// The Frame type represents a call site in the stacktrace. Frame supports
|
// The Frame type represents a call site in the stacktrace. Frame supports
|
||||||
// the fmt.Formatter interface that can be used for printing information about
|
// the fmt.Formatter interface that can be used for printing information about
|
||||||
// the stacktrace of this error. For example:
|
// the stacktrace of this error. For example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user