Skip to content

alecthomas/errors

Repository files navigation

A simple error wrapping package for Go

CI Go Report Card Slack chat

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 <file>:<line> annotations at each wrapping location.

About

A simple errors package for Go

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •