Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + func Errorf(errorCode ErrorCode, msgFmt string, args ...interface{}) error + func IsCausedBy(e error, errCode ErrorCode) bool + func IsCausedByError(e, e2 error) bool + func Wrapf(code ErrorCode, cause error, msgFmt string, args ...interface{}) error + type ErrorCode = string + func GetErrorCode(e error) (code ErrorCode, found bool) + type ErrorCollection []error + func (e *ErrorCollection) Append(err error) bool + func (e ErrorCollection) Error() string + func (e ErrorCollection) ErrorOrDefault() error