errtrace
github.com · Open source · Maintained
Error return traces for Go, inspired by Zig
- Developer tools
- Open source
- Go
- Day-7 check
- Day-30 check
- Stars
- 821
- Forks
- 14
- Open issues
- 12
- Last commit
- Releases
- 5
- Found
- 3 years ago
GitHub figures as of . They are context, not a ranking.
errtrace is an open-source Go library that gives errors a trace of their return path, offering an alternative to traditional stack traces. It suits Go developers who want to see where an error passed through their code.
Repository description on GitHub: “An alternative to stack traces for your Go errors”
What it does
- Adds each function's location to a returned error's return trace
- Manual and automatic instrumentation options
- Return traces as an alternative to stack traces
Good for
- Find the path an error took through your Go functions
- Compare return traces with stack traces when debugging Go errors
Suits: Go developers who want to see how errors travel through code.
Worth knowing: The package is experimental.
What you can try
Read the README on GitHub and install from source.
Install
go install braces.dev/errtrace/cmd/errtrace@latestTaken from the project’s README. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw errtrace on , when abhinavg posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found. 5 releases have been published in total; the latest is v0.4.0 ().
Day-7 and day-30 updates
Day 7 1 release shipped
- 1 release in the first 7 days: v0.2.0 (30 Nov 2023)
- Show HN discussion at check time: 133 points, 84 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 2 releases shipped
- 2 releases in the first 30 days: v0.2.0 (30 Nov 2023), v0.3.0 (22 Dec 2023)
- Show HN discussion at check time: 133 points, 84 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: bracesdev/errtrace
- Release v0.1.0
- Release v0.1.1
- Found: abhinavg posted it to Show HN. Show HN
- Release v0.2.0
- Release v0.3.0
- Release v0.4.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was errtrace released?
- Its first tagged release on GitHub is dated 29 Nov 2023. Kip found it on Show HN on 29 Nov 2023.
- Is errtrace open source?
- Its source is public on GitHub at bracesdev/errtrace under the BSD-3-Clause licence.
- What does errtrace run on?
- Library.
- Is errtrace free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is errtrace still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | bracesdev/errtrace REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-38458802. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.