ztrue/tracerr
Golang errors with stack trace and source fragments. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 75
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 2765
- days_rel: n/a
- days_push: 154
- n_releases_24m: 0
Adoption not part of the score
1120 stars · 43 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library that adds stack traces and source code fragments to errors. It wraps existing errors or creates new ones, then prints or formats them with colored source context for easier debugging.
Use cases
- add stack traces to errors in go
- print error source code fragments
- debug uninformative error output
- wrap errors with stack trace
- get stack trace frames from an error
- format errors with color for logs
When to choose
- you need richer error output than plain Go error strings
- you want source code context attached to stack traces
- you need a lightweight drop-in error wrapper in Go
When to avoid
- you need error wrapping compatible with Go 1.13 errors.Is/As semantics
- performance-critical hot paths where stack capture is too costly
- you prefer structured error types like pkg/errors alternatives
Facets
library · maturity stable
error-handling logging developer-tools developer-tools backend go cross-platform stacktrace source-fragments error-wrapping debugging golang
1 source
- readme: https://github.com/ztrue/tracerr · fetched 2026-08-28 · c95e676a8901
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ztrue/tracerr | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem