go-errors icon indicating copy to clipboard operation
go-errors copied to clipboard

Yet another errors package, implementing error handling primitives.

Results 4 go-errors issues
Sort by recently updated
recently updated
newest added
trafficstars

`Error.Kind()` is not useful in regular code, but it is needed when writing tests. One use case is to check `Kind` and `Cause` or two error values recursively to make...

Let's imagine we are using a mix of this library and standard errors created with `errors.New` or `fmt.Errorf`. Consider the following snippet: ```go var errStd = stderrors.New("something") var errKind =...

Sometimes as we pass the error down the line we might want to annotate the error with more information and we don't want to check its type later. For these...

A small drive-by improvements: - doc: link for CI badge change to .com to fix image rendering in README Before After - CI updated to include 2 latest profiles, following...