Feature Request: Add ErrorIs and ErrorAs assertion helpers for Go 1.13+ error wrapping
Feature Request: Add ErrorIs and ErrorAs assertion helpers for Go 1.13+ error wrapping: a task in LegoFlow-SWE (Harbor dataset). Currently, testing code that uses Go’s error wrapping ( fmt.Errorf("%w", ...) , errors.Is , errors.As ) forces us to write verbose, unhelpful assertions:
The task
Currently, testing code that uses Go’s error wrapping (`fmt.Errorf("%w", ...)`, `errors.Is`, `errors.As`) forces us to write verbose, unhelpful assertions:
Part of Lego-X/LegoFlow-SWE.