Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stack ¶
type Stack []Frame
Stack represents a stacktrace as a slice of Frames.
func StackTrace ¶
type StackError ¶
Example ¶
package main import ( "errors" "fmt" "github.com/bikbah/stackerror" ) func main() { e := errors.New("test error") es := stackerror.New(e) fmt.Println(es) }
Output:
func (StackError) Error ¶
func (se StackError) Error() string
func (*StackError) Unwrap ¶
func (se *StackError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.