Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alecthomas/errors
A simple errors package for Go
https://github.com/alecthomas/errors
Last synced: 16 days ago
JSON representation
A simple errors package for Go
- Host: GitHub
- URL: https://github.com/alecthomas/errors
- Owner: alecthomas
- Created: 2022-03-27T07:37:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-03T05:11:33.000Z (12 months ago)
- Last Synced: 2024-10-10T16:06:52.354Z (about 1 month ago)
- Language: Go
- Size: 10.7 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# A simple error wrapping package for Go
This is a simple error wrapping package that automatically adds source
locations to errors. It has the same API as github.com/pkg/errors but is much
lighter weight.If the envar "DEBUG=1" is true, any errors from this package that are printed
will display `:` annotations at each wrapping location.