Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.