Versions in this module Expand all Collapse all v0 v0.3.0 Jul 7, 2024 v0.2.0 Jul 6, 2024 v0.1.0 Mar 19, 2024 Changes in this version + func As(err error, target any) bool + func Disjoin(err error) []error + func Fields(err error) []any + func Is(err, target error) bool + func Join(opts ...any) error + func New(msg string, opts ...any) error + func Unwrap(err error) error + func V(err error, key string) any + func Wrap(err error, opts ...any) error + type Frame struct + FilePath string + Fn string + Line int + func (f Frame) Format(s fmt.State, verb rune) + func (f Frame) String() string + type FrameSkips int + const NoFrame + const SkipCaller + type JoinFormatFn func(msg string, errs []error) string + type KV struct + K string + V any + func KVs(fields ...any) []KV + type Kind string + func (k Kind) Error() string + func (k Kind) Is(target error) bool + type StackFrames []Frame + func StackTrace(err error) StackFrames + func (f StackFrames) Format(s fmt.State, verb rune) + func (f StackFrames) String() string