proxy.golang.org : github.com/alecthomas/errors : v0.1.0
Package errors 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 <file>:<line> annotations at each wrapping location.
Registry -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/alecthomas/errors@v0.1.0
Published:
Indexed:
Related tag:
v0.1.0
Loading...
Readme
Loading...
Dependencies
- github.com/alecthomas/assert v1.0.0
- github.com/alecthomas/colour v0.1.0
- github.com/alecthomas/repr v0.0.0-20210801044451-80ca428c5142
- github.com/mattn/go-isatty v0.0.14
- github.com/sergi/go-diff v1.2.0
- github.com/stretchr/testify v1.7.1
- golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
- gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b