Versions in this module Expand all Collapse all v1 v1.0.0 May 26, 2022 Changes in this version + func Data(err error) map[string]interface + func Detail(err error) string + func New(text string) error + func Root(e error) error + func Sub(root, err error) error + func WithData(err error, keyval ...interface{}) error + func WithDetail(err error, text string) error + func WithDetailf(err error, format string, v ...interface{}) error + func Wrap(err error, a ...interface{}) error + func Wrapf(err error, format string, a ...interface{}) error + type StackFrame struct + File string + Func string + Line int + func Stack(err error) []StackFrame + func (f StackFrame) String() string + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Err() error + func (w *Writer) Write(buf []byte) (n int, err error) + func (w *Writer) Written() int64