uber-go/multierr
Combine one or more Go errors together observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3458
- days_rel: n/a
- days_push: 856
- n_releases_24m: 0
Adoption not part of the score
1198 stars · 50 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
multierr is a lightweight Go library for combining one or more errors into a single error value. It is idiomatic, performant, and interoperates seamlessly with the standard library's errors.Is and errors.As APIs.
Use cases
- combine multiple errors from a loop into one
- append errors safely from defer statements
- aggregate errors from parallel goroutines
- return all validation errors at once instead of only the first
- work with multiple errors using errors.Is and errors.As
When to choose
- you need to collect and report multiple errors together in Go
- you want a dependency-free, stable error-combining library
- you need compatibility with Go 1.20+ errors.Is/errors.As semantics
When to avoid
- you are on Go 1.20+ and only need basic multi-error wrapping via the standard errors.Join
- you need rich error formatting or stack traces, which other libraries provide
Facets
library · maturity stable
error-handling developer-tools backend go errors error-aggregation multi-error
2 sources
- readme: https://github.com/uber-go/multierr · fetched 2026-08-28 · 722b4d97ced4
- homepage: https://go.uber.org/multierr · fetched 2026-08-29 · 4aad7164c395
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| uber-go/multierr | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="uber-go/multierr")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem