Versions in this module Expand all Collapse all v0 v0.1.1 Jan 21, 2025 Changes in this version + func As(err error, target any) bool + func AsType[Err error](err error) (Err, bool) + func Cause(err error) error + func Errors(err error) []error + func HandleFmtWriteError(handler func(err error)) + func Is(err, target error) bool + func Join(errs ...error) error + func Joins(errs ...error) []error + func JoinsG[T error](errs ...T) []T + func Unwrap(err error) error + func UnwrapGroups(err error) iter.Seq[error] + func UnwrapGroupsLevel(err error) iter.Seq2[int, error] + func Unwraps(err error) []error + func WalkDeep(err error, visitor func(err error) bool) bool + func WalkDeepLevel(err error, visitor func(error, int) bool) bool + func WrapInPlace(err error, wrap func(error) error) bool + type ErrorUnwrap interface + ErrorNoUnwrap func() string + Unwrap func() error + type ErrorWrap struct + func NewErrorWrap(err error) *ErrorWrap + func (ew *ErrorWrap) Format(s fmt.State, verb rune) + func (ew *ErrorWrap) Unwrap() error + func (ew *ErrorWrap) WrapError(wrap func(error) error) + type ErrorWrapper interface + WrapError func(func(error) error) Other modules containing this package github.com/gregwebs/errors