Error Handling

18 packages

Packages (18)

go-multierror

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

2,540 128

errors

Go error library with error portability over the network.

2,345 70

eris

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

1,759 55

errorx

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

1,269 31

multierr

Package for representing a list of errors as a single error.

1,170 45

tracerr

Golang errors with stack trace and source fragments.

1,103 39

oops

Error handling with context, stack trace and source fragments.

852 35

errlog

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

460 20

emperror

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

368 17

Fault

An ergonomic mechanism for wrapping errors in order to facilitate structured metadata and context for error values.

305 8

errors

Drop-in replacement for the standard library errors package and github.com/pkg/errors. Provides various error handling primitives.

204 14

errors

Drop-in replacement for builtin 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.

74 5

exception

A simple utility package for exception handling with try-catch in Golang.

38 3

Falcon

A Simple Yet Highly Powerful Package For Error Handling.

11 1

errors

The most simple error wrapper with awesome performance and minimal memory overhead.

7 1

errors

Simple golang error handling with classification primitives.

6 1

metaerr

A library to create your custom error builders producing structured errors with metadata from different sources and optional stacktraces.

5

errors

Providing errors with a stack trace and optional structured details. Compatible with github.com/pkg/errors API but does not use it internally.