Versions in this module Expand all Collapse all v1 v1.11.4 Dec 28, 2024 Changes in this version + func As(err error, target interface{}) bool + func AssertionFailedWithDepthf(depth int, format string, args ...interface{}) error + func AssertionFailedf(format string, args ...interface{}) error + func HandleAsAssertionFailure(origErr error) error + func HandleAsAssertionFailureDepth(depth int, origErr error) error + func JoinWithDepth(depth int, errs ...error) error + func New(msg string) error + func NewAssertionErrorWithWrappedErrDepthf(depth int, origErr error, format string, args ...interface{}) error + func NewAssertionErrorWithWrappedErrf(origErr error, format string, args ...interface{}) error + func NewWithDepth(depth int, msg string) error + func NewWithDepthf(depth int, format string, args ...interface{}) error + func Newf(format string, args ...interface{}) error + func WithMessage(err error, message string) error + func WithMessagef(err error, format string, args ...interface{}) error + func Wrap(err error, msg string) error + func WrapWithDepth(depth int, err error, msg string) error + func WrapWithDepthf(depth int, err error, format string, args ...interface{}) error + func Wrapf(err error, format string, args ...interface{}) error