Versions in this module Expand all Collapse all v1 v1.0.1 Jul 7, 2026 Changes in this version + func As(err error, target interface{}) bool + func Cause(err error) error + func Errorf(code GoCode, format string, args ...interface{}) error + func Is(err, target error) bool + func Join(errs ...error) error + func Unwrap(err error) error + func WithMessage(err error, message string) error + func WithMessagef(err error, format string, args ...interface{}) error + func Wrap(err error, message string) error + func Wrapf(err error, format string, args ...interface{}) error + type Error struct + Code GoCode + Message string + Reason error + Related []error + func New(code GoCode, message string, related ...error) Error + func (e Error) Cause() error + func (e Error) Error() string + func (e Error) Is(chk error) bool + func (e Error) Unwrap() error + func (e Error) WithCause(reason error) Error + func (e Error) Wrap(message string) Error + func (e Error) Wrapf(format string, args ...any) Error + type GoCode string + const CodeUnknown v1.0.0 Jul 4, 2026