Overview of multierr features
mastermultierr is a library for combining one or more Go errors into a single error value.
Key characteristics include:
- Idiomatic: It hides underlying error types so you can work exclusively with
errorvalues, and provides safe APIs for appending errors withindeferstatements. - Performant: Optimized to avoid allocations and uses slice resizing semantics for efficient appending (e.g., inside loops).
- Interoperable: Fully compatible with Go standard library error functions like
errors.Isanderrors.As. - Lightweight: Minimal dependencies.