Versions in this module Expand all Collapse all v0 v0.1.1 May 22, 2023 Changes in this version type Error + func (e *Error) FormatCustom(visit func(message string)) v0.1.0 May 13, 2023 Changes in this version + func As(err error, target any) bool + func Is(err error, target error) bool + func New(msg string, opts ...fudge.Option) error + func NewWithCause(msg string, cause error, opts ...fudge.Option) error + func Sentinel(msg string, code string) error + func Unwrap(err error) error + func Wrap(err error, msg string, opts ...fudge.Option) error + type Error struct + Binary string + Cause error + Code string + Message string + Trace []Frame + func (e *Error) Error() string + func (e *Error) Format(s fmt.State, verb rune) + func (e *Error) Is(target error) bool + func (e *Error) Unwrap() error + type Frame struct + File string + Function string + KeyValues KeyValues + Line int + Message string + func (f Frame) Format(s fmt.State, verb rune) + type KeyValues map[string]string + func (m KeyValues) Format(s fmt.State, verb rune)