Instead of raising a plain driver.ErrBadConn error, raise an error that
wraps driver.ErrBadConn.
provides information why the connection is bad (by adding the text of the underlying error).
This is helpful in case of issues with server certificate validation. Instead of just
driver: bad connection
the error is then
driver: bad connection: x509: certificate signed by unknown authority
driver: bad connection: x509: certificate relies on legacy Common Name field, use SANs instead
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
kuerbiskarton seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it.
Instead of raising a plain driver.ErrBadConn error, raise an error that
This is helpful in case of issues with server certificate validation. Instead of just
the error is then