I want my client application to behave differently depending upon whether the
server is down or it is a "x509: certificate signed by unknown authority" 
condition.

It seems there isn't an errors.Is (btw the dot syntax makes it difficult to
google search!)

I intend to just string match the returned error. However, as it isn't a pkg
variable (had to grep). Does the string fall outside the compatibility promise?

If so. Is there a better way or should I just create a test to run on every
stdlib upgrade?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f4ddc813-ade5-7501-4fb4-d19dba375a4f%40gmail.com.

Reply via email to