54 Resources
The Emperor takes care of all errors personally. Go's philosophy encourages to gracefully handle errors whenever possible, but some times recovering f
Highlights The errorx library provides error implementation and error-related utilities. Library features include (but are not limited to): Stack trac
panicparse Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavil
go-multierror go-multierror is a package for Go that provides a mechanism for representing a list of error values as a single error. This allows a fun
errors import "github.com/juju/errors" The juju/errors provides an easy way to annotate errors without losing the original error context. The exporte
cockroachdb/errors: Go errors with network portability This library aims to be used as a drop-in replacement to github.com/pkg/errors and Go's standar
eris Package eris provides a better way to handle, trace, and log errors in Go. go get github.com/rotisserie/eris Why you'll want to switch to eris Us
errors Package errors provides simple error handling primitives. go get github.com/pkg/errors The traditional error handling idiom in Go is roughly ak
Fault The fault package provides go http middleware that makes it easy to inject faults into your service. Use the fault package to reject incoming re
Emperror: Errors Drop-in replacement for the standard library errors package and github.com/pkg/errors. This is a single, lightweight library merging
Golang Errors with Stack Trace and Source Fragments Tired of uninformative error output? Probably this will be more convenient: Example package main
Errors Errors package is a drop-in replacement of the built-in Go errors package with no external dependencies. It lets you create errors of 11 differ
gostackparse Package gostackparse parses goroutines stack traces as produced by panic() or debug.Stack() at ~300 MiB/s. Parsing this data can be usefu
erris erris is a program for checking that errors are compared or type asserted using go1.13 errors.Is and errors.As functions. Install go get -u gith
merry Add context to errors, including automatic stack capture, cause chains, HTTP status code, user messages, and arbitrary values. The package is la
Errlog: reduce debugging time while programming Introduction Use errlog to improve error logging and speed up debugging while you create amazing code
Tideland Go Library Description The Tideland Go Library contains a larger set of useful Google Go packages for different purposes. ATTENTION: The cell
superr SupErr -- Go stdlib errors with super powers. Pronounced super with a French accent :D Build a stack of errors compatible with Go stdlib and er
errwrap Wrap and fix Go errors with the new %w verb directive. This tool analyzes fmt.Errorf() calls and reports calls that contain a verb directive t
errors -- import "github.com/juju/errgo" The errors package provides a way to create and diagnose errors. It is compatible with the usual Go error idi
errors Please see http://godoc.org/github.com/spacemonkeygo/errors for info License Copyright (C) 2014 Space Monkey, Inc. Licensed under the Apache Li
semerr Package semerr helps to work with errors in Golang. Const error An error that can be defined as const. var errMutable error = errors.New("mutab
Errors with a stack trace A Go package providing errors with a stack trace. Features: Based of github.com/pkg/errors with similar API, addressing many
π₯· CError (Custom Error Handling) Installation Via go packages: go get github.com/rozturac/cerror Usage Here is a sample CError uses: import ( "gi
gqlgen-apollo-error ApolloError compliant error function for gqlgen Installation $ go get -u github.com/s-ichikawa/gqlgen-apollo-error Quickstart Retu
Generic error handling with panic, recover, and defer.
π pkcs11-key-wrap Wrap keys from HSM using CKM_RSA_AES_KEY_WRAP step by step. This tool can be used for example for exporting keys from Amazon's Clou
Note: this code is still in alpha stage. It works but it may change subtly in the near future, depending on what comes out of golang/go#52607. Wrap.Wi
A simple and somewhat idiomatic way of constructing easy-to-glance-at pipes for sequential processes. Inspired by Elixir's pipe operator. Refer to my
custom-error-go A powerful, custom error package for Go Detailed explanation: https://medium.com/codealchemist/error-handling-in-go-made-more-powerful
UhOh Golang advanced error usage with stack tracing uhoh consists of 3 parts: Original error Description of error Stack trace File Function Line Usage
Generic Std generic wrap for standard lib of golang. Generic will be supported in go 1.18. But for now, standard lib will not support generic containe
ErrorFlow Declarative error handling for Go. Motivation Reading list: Don't defer Close() on writable files Error Handling β Problem Overview Proposal
errors An errors package optimized for the pkg/errors package Use Download and install go get github.com/dobyte/errors API // New Wrapping for errors.
errors Just another error handling primitives for golang Install go install github.com/WAY29/[email protected] Usage New error and print error context Th
Try Idiomatic monadic-ish error handling for go. Examples import
RErr package This structured Error package wraps errors with context and other info. It can be used to enrich logging, for example with a structured l
Error handling hook & helper function to simplify writing API handler methods in Go.
Error Handling with eluv-io/errors-go The package eluv-io/errors-go makes Go error handling simple, intuitive and effective. err := someFunctionThatCa
π§ Errors Errors ζ―δΈδΈͺη¨δΊδΌι ε°ε€η Go δΈιθ――ηεΊγ Read me in English πβ εθ½ηΉζ§ δΌι ε°ε€η errorοΌε―οΌ
errors πͺ Buy me a cookie What is this? A simple errors package that dynamically prepends the package name. How to install Open a terminal and run the
Go HTTP Error Wraps the normal error and provides an error that is easy to use with net/http. Install go get -u github.com/cateiru/go-http-error Usage
dd-trace-shell First attempt to trace a shell script with Datadog's go tracer. W
hello-frog About this plugin This plugin is a template and a functioning example for a basic JFrog CLI plugin. This README shows the expected structur
errstack: Go errors with chained stack traces errstack is a Go package for creating errors with stack traces. It is heavily inspired by github.com/pkg
go-extract-error-codes Overview This library helps to extract possible error codes from configured go-restful applications quality level: PoC High Lev
Error interface wrappers for Google's errdetails protobuf types, because they're handy as heck and I want to use them more
Hierarchical errors made right Hate seeing error: exit status 128 in the output of programs without actual explanation what is going wrong? Or, maybe,
go-errors Why this repo was created? Main reason was to create additional methods for better error typing support. Features Errors as constants errors
go-typed-errors Why this repo was created? Main reason was to create additional methods for better error typing support. Why not to use errors.As and
brief a piece of error handling codelet. this code only demonstrates how to hide sql.ErrNoRows to the caller. the Get() method defined in the pkg/proj
Pears Harvest Go Errors with Ease Introduction Pears helps reduce the boilerplate and ensure correctness for common error-handling scenarios: Panic re
Annotation with stack trace for go1.13 Go 1.13 contains support for error wrapping. Now you can add additional information to an error by wrapping it