Ross ROSS = Recommend OSS · open-source software intelligence for agents

pkg/errors

Simple error handling primitives observed · 2026-08-28

github.com/pkg/errors · homepage · Go · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

56/100

  • Activity 74
  • 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-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3902
  • days_rel: n/a
  • days_push: 159
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

8259 stars · 715 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Go library providing simple error handling primitives, most notably errors.Wrap for adding context and stack traces to errors without destroying the original value. It is now in maintenance mode since Go 1.13's standard errors package covers wrapping with %w.

Use cases

  • add context to errors in go
  • wrap errors with stack traces in go
  • get the original cause of a wrapped error
  • improve error messages in go applications
  • debug where an error originated in go code

When to choose

  • you are on Go < 1.13 and need error wrapping
  • you want stack traces captured at error creation
  • you maintain an existing codebase already using this package

When to avoid

  • you are on Go 1.13+ and can use the standard errors package with %w wrapping
  • you need actively developed features or new functionality
  • you need errors.Is/errors.As compatibility features built-in

Facets

library · maturity maintenance

error-handling developer-tools developer-tools backend programming-languages go cross-platform go error-wrapping stack-traces error-context standard-library-alternative

5 sources

Member repositories

RepositoryRoleHealth v2
pkg/errorsmain56

For agents

markdown · JSON · MCP: product_card(name="pkg/errors")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem