Go-lang Error Handling

Back

1. emperror

Error handling tools and best practices for Go libraries and applications.

2. eris

A better way to handle, trace, and log errors in Go. Compatible with the standard error library and github.com/pkg/errors.

3. errlog

Hackable package that determines responsible source code for an error (and some other fast-debugging features). Pluggable to any logger in-place.

4. errors

Drop-in replacement for builting Go errors. This is a minimal error handling package with custom error types, user friendly messages, Unwrap & Is. With very easy to use and straightforward helper functions.

5. errorx

A feature rich error package with stack traces, composition of errors and more.

6. Falcon

A Simple Yet Highly Powerful Package For Error Handling.

7. go-multierror

Go (golang) package for representing a list of errors as a single error.

8. tracerr

Golang errors with stack trace and source fragments.