sourcegraph/lib/errors
Indradhanush Gupta 432313cfee
lib/errors: Simplify ClassifiedError type to Warning (#38885)
If we are trying to expose two "levels" of errors, one being warning
and another error, it is simpler to just expose a custom type Warning
to replicate the warning level of errors, and all other errors are
just errors.

Co-authored-by: Robert Lin <robert@bobheadxi.dev>
Co-authored-by: Alex Ostrikov <alex.ostrikov@sourcegraph.com>
2022-08-03 22:40:28 +05:30
..
cockroach.go lib/errors: new MultiError error type and utilities (#31466) 2022-02-18 11:07:02 -08:00
CODENOTIFY trace, tracer, errors, observation: add devx to CODENOTIFY (#38897) 2022-07-18 18:19:13 +02:00
errors_test.go lib/errors: new MultiError error type and utilities (#31466) 2022-02-18 11:07:02 -08:00
errors.go lib/errors: add interfaces for typed errors (#39256) 2022-07-25 19:59:14 -04:00
filter_test.go Add helper predicates for HasType and Is (#30975) 2022-02-10 16:47:46 +00:00
filter.go ignore any context errors in code monitors (#35064) 2022-05-07 12:13:24 -04:00
group_test.go lib/errors: new MultiError error type and utilities (#31466) 2022-02-18 11:07:02 -08:00
group.go lib/errors: new MultiError error type and utilities (#31466) 2022-02-18 11:07:02 -08:00
multi_error.go lib/errors: add interfaces for typed errors (#39256) 2022-07-25 19:59:14 -04:00
warning_test.go lib/errors: Simplify ClassifiedError type to Warning (#38885) 2022-08-03 22:40:28 +05:30
warning.go lib/errors: Simplify ClassifiedError type to Warning (#38885) 2022-08-03 22:40:28 +05:30