mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
With this patch, the `errors.HasType` API behaves similar to `Is` and `As`, where it checks the full error tree instead of just checking a linearized version of it, as cockroachdb/errors's `HasType` implementation does not respect multi-errors. As a consequence, a bunch of relationships between HasType and Is/As that you'd intuitively expect to hold are now true; see changes to `invariants_test.go`. |
||
|---|---|---|
| .. | ||
| cmdlogger | ||
| command | ||
| files | ||
| runner | ||
| runtime | ||
| workspace | ||
| BUILD.bazel | ||
| handler_test.go | ||
| handler.go | ||
| mocks_test.go | ||
| worker.go | ||