# go-errors/errors

errors with stacktraces for go

Repository: https://github.com/go-errors/errors
Canonical: https://ross.abutalabs.com/products/go-errors-errors
Homepage: https://godoc.org/github.com/go-errors/errors
Language: Go
License: MIT
License Family: permissive
Last push: 2024-01-14T20:24:08+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4241, "days_push": 962, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1008, forks 90 (observed 2026-08-28T04:03:12.621391+00:00)

## What it is
A Go library that adds stacktrace support to errors via an *Error type implementing the standard error interface. It is compatible with stdlib errors.Is/As/Join/Unwrap and was originally created for Bugsnag error reporting.

## Use cases
- capture stack traces when errors occur in go
- debug unexpected error returns in go applications
- report errors with stacktraces to bugsnag
- wrap errors while keeping compatibility with stdlib errors.Is and errors.As
- print the call stack of an error in go

## When to choose
- you need stacktraces attached to Go errors
- you want drop-in compatibility with the standard error interface
- you report errors to services like Bugsnag

## When to avoid
- you only need simple error wrapping without stacktraces (use stdlib fmt.Errorf)
- you are on Go 1.20+ and only need errors.Join/Unwrap from the standard library

## Facets
- artifact type: library
- maturity: stable
- function: error-handling, logging, developer-tools
- domain: developer-tools, backend, programming-languages
- platform: go, cross-platform
- tags: stacktrace, errors, go-library, debugging

## Member repositories
- go-errors/errors (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.621391+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-30T07:12:09.440553+00:00, confidence not recorded.
  - readme: https://github.com/go-errors/errors (fetched 2026-08-28T04:03:12.621391+00:00, sha 1460e30a1909)
  - homepage: https://godoc.org/github.com/go-errors/errors (fetched 2026-08-29T13:12:18.762119+00:00, sha 26ce14bbbd33)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T13:12:18.773505+00:00, sha 757852027879)
  - site_page: https://pkg.go.dev/github.com/go-errors/errors (fetched 2026-08-29T13:12:18.771531+00:00, sha 0c20e8611cd9)
  - site_page: https://go.dev/project (fetched 2026-08-29T13:12:18.775539+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
