8000 Add IsFunc function by kaloyan-raev · Pull Request #7 · zeebo/errs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add IsFunc function #7

New issue

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

Merged
merged 5 commits into from
Jun 5, 2019
Merged

Add IsFunc function #7

merged 5 commits into from
Jun 5, 2019

Conversation

kaloyan-raev
Copy link
Contributor

Adds errs.IsFunc function that checks if any of the underlying errors matches the given function. It traverses the complete error tree (up to maxCause nodes) in the case of combined errors.

@zeebo zeebo merged commit ab3bded into zeebo:master Jun 5, 2019
@kaloyan-raev kaloyan-raev deleted the is-func branch June 5, 2019 15:59
@kaloyan-raev kaloyan-raev mentioned this pull request Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0