# rotisserie/eris

Error handling library with readable stack traces and flexible formatting support 🎆

Repository: https://github.com/rotisserie/eris
Canonical: https://ross.abutalabs.com/products/eris
Homepage: https://pkg.go.dev/github.com/rotisserie/eris
Language: Go
License: MIT
License Family: permissive
Topics: errors, error-handling, error-logging, go, golang, sentry-integration, eris, error-traces
Last push: 2025-04-03T15:40:59+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 14, release rhythm 35, longevity 100
- inputs: {"age_days": 2552, "days_push": 517, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1795, forks 55 (observed 2026-08-28T04:05:37.406855+00:00)

## What it is
Eris is a Go error handling library providing readable stack traces, error wrapping, and flexible output formatting including JSON. It integrates with Sentry and offers alternatives to pkg/errors.

## Use cases
- add readable stack traces to Go errors
- wrap errors with context in Go applications
- format errors as JSON for structured logging
- send error traces to Sentry
- migrate from pkg/errors to a maintained alternative

## When to choose
- you need detailed, readable stack traces in Go
- you want flexible error output formats including JSON
- you use Sentry for error reporting

## When to avoid
- you only need Go 1.13+ standard error wrapping
- you want a zero-dependency minimal solution

## Facets
- artifact type: library
- maturity: stable
- function: error-handling, logging
- domain: developer-tools, backend
- platform: go
- tags: stack-traces, error-wrapping, sentry-integration, json-formatting, golang

## Member repositories
- rotisserie/eris (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.406855+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:51.918350+00:00, confidence not recorded.
  - readme: https://github.com/rotisserie/eris (fetched 2026-08-28T04:05:37.406855+00:00, sha 7deef1fb895b)
  - homepage: https://pkg.go.dev/github.com/rotisserie/eris (fetched 2026-08-29T11:01:36.730459+00:00, sha 4ead136328a0)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T11:01:36.733833+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T11:01:36.735867+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
