Versions in this module Expand all Collapse all v1 v1.10.0 Jan 19, 2024 v1.0.0 Apr 13, 2022 Changes in this version + var ErrPreconditionViolated = errors.New("precondition is violated") + func FilterOut(err error, fns ...Matcher) error + func HandleHttpError(c *gin.Context, err error) + func NewHttpError(status int, err interface{}) error + func Reduce(err error) error + type Aggregate interface + Errors func() []error + func AggregateGoroutines(funcs ...func() error) Aggregate + func CreateAggregateFromMessageCountMap(m MessageCountMap) Aggregate + func Flatten(agg Aggregate) Aggregate + func NewAggregate(errlist []error) Aggregate + type HttpError struct + ErrMessage string + Status int + func (e HttpError) Error() string + type Matcher func(error) bool + type MessageCountMap map[string]int