mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
This adds a couple of small helpers to make working with errors.Ignore a little easier. Now, if you just want to ignore a certain error type, instead of creating a function for it, you can just do something like ``` err = errors.Ignore(err, errors.IsPred(context.Canceled)) ``` |
||
|---|---|---|
| .. | ||
| cockroach.go | ||
| filter_test.go | ||
| filter.go | ||
| multierror.go | ||