-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
support Is comparison on MySQLError #1210
support Is comparison on MySQLError #1210
Conversation
It sounds good. We can drop support Go 1.12 because the latest version of Go is 1.16. |
I think we should drop old versions support now, because we just released v1.6. |
I dropped support of Go 1.12. #1211 |
@methane @shogo82148 looks like the PR checks are failing because of a decrease in coverage because of newly "uncovered" lines in rows.go which this PR doesn't touch. Any suggestions how I can work around that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Description
Adds support for comparison of
MySQLError
instances witherrors.Is
. This useful for comparing errors (either client-side or server-side) in application code, particularly for things like circuit breakers and retriers.Checklist