sourcegraph/lib/errors
Camden Cheek 233a93abc6
Add helper predicates for HasType and Is (#30975)
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))
```
2022-02-10 16:47:46 +00:00
..
cockroach.go errors: Introduce internal package (#30558) 2022-02-07 15:03:45 +00:00
filter_test.go Add helper predicates for HasType and Is (#30975) 2022-02-10 16:47:46 +00:00
filter.go Add helper predicates for HasType and Is (#30975) 2022-02-10 16:47:46 +00:00
multierror.go errors: Introduce internal package (#30558) 2022-02-07 15:03:45 +00:00