Versions in this module Expand all Collapse all v0 v0.3.3 Jul 15, 2022 Changes in this version + var DefaultFrameCapacity = 20 + var DefaultFrameSkipCount = 2 v0.3.2 Jul 15, 2022 Changes in this version + var Default = NewTracerr(20, 2) + var DefaultLinesAfter = 2 + var DefaultLinesBefore = 3 + func Print(err error) + func PrintSource(err error, nums ...int) + func PrintSourceColor(err error, nums ...int) + func Sprint(err error) string + func SprintSource(err error, nums ...int) string + func SprintSourceColor(err error, nums ...int) string + func Unwrap(err error) error + type Error interface + Error func() string + StackTrace func() []Frame + Unwrap func() error + func CustomError(err error, frames []Frame) Error + func Errorf(message string, args ...interface{}) Error + func New(message string) Error + func Wrap(err error) Error + type Frame struct + Func string + Line int + Path string + func StackTrace(err error) []Frame + func (f Frame) String() string + type Tracerr interface + CustomError func(err error, frames []Frame) Error + Errorf func(message string, args ...interface{}) Error + New func(message string) Error + Unwrap func(err error) error + Wrap func(err error) Error + func NewTracerr(frameCapacity int, stackFrameSkipCount int) Tracerr v0.1.0 Feb 6, 2019