Content-Length: 245192 | pFad | https://github.com/TheAlgorithms/Go/pull/666

26 test: Use error.Is(errorType, errorInstance) to check for error equality by himanshu-patel-dev · Pull Request #666 · TheAlgorithms/Go · GitHub
Skip to content
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

test: Use error.Is(errorType, errorInstance) to check for error equality #666

Merged
merged 3 commits into from
Oct 5, 2023
Merged

test: Use error.Is(errorType, errorInstance) to check for error equality #666

merged 3 commits into from
Oct 5, 2023

Conversation

himanshu-patel-dev
Copy link
Contributor

Checking error with == operator might fail on wrapped errors

Checking error with == operator might fail on wrapped errors
@raklaptudirm raklaptudirm merged commit c129115 into TheAlgorithms:master Oct 5, 2023
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.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/TheAlgorithms/Go/pull/666

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy