Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add attach and mask functions for joining errors in a different way
The `Attach` and `Mask` functions create a new error node that returns the error message from one node, but creates a structure where the additional errors are in the error chain and can be discovered with `errors.Is` and `errors.As`. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
- Loading branch information