Skip to content

Commit

Permalink
update godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
davecheney committed Jun 11, 2016
1 parent 297d9e8 commit c5fe904
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@
// type Stacktrace interface {
// Stacktrace() []Frame
// }
//
// 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 stacktrace of this error. For example:
//
// if err, ok := err.(Stacktrace); ok {
// for _, f := range err.Stacktrace() {
// fmt.Printf("%+s:%d", f)
// }
// }
//
// See the documentation for Frame.Format for more details.
package errors

import (
Expand Down

0 comments on commit c5fe904

Please sign in to comment.