-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ditch pkg/errors, use native error (un)wrapping
Compatibility notes: 1. ErrSymlinkLoop is removed in favor of wrapping syscall.ELOOP into &os.PathError{}; users should use e.g. errors.Is(err, syscall.ELOOP) to check for this particular error. 2. IsNotExist now does not use pkg/errors.Cause but native go error unwrapping; it could breaks a use case when it is used for some third-party errors wrapped using pkg/errors.Wrap[f]. I was not able to find any users of either feature. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information
Showing
6 changed files
with
4 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
github.com/pkg/errors v0.8.0 | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.