We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It appears that errors.IsAny does not support multi-error.
errors/markers/markers.go
Lines 152 to 205 in c1cc191
errors.Is supports multi-error.
Lines 44 to 92 in c1cc191
Perhaps the following equivalent code can be added to IsAny.
// Recursively try multi-error causes, if applicable. for _, me := range errbase.UnwrapMulti(c) { if Is(me, reference) { return true } }
The text was updated successfully, but these errors were encountered:
This fix was recently merged: #140 and the latest release contains the fix.
Sorry, something went wrong.
No branches or pull requests
It appears that errors.IsAny does not support multi-error.
errors/markers/markers.go
Lines 152 to 205 in c1cc191
errors.Is supports multi-error.
errors/markers/markers.go
Lines 44 to 92 in c1cc191
Perhaps the following equivalent code can be added to IsAny.
The text was updated successfully, but these errors were encountered: