Go's net package doesn't have opaque errors, just undocumented ones I tweeted: I continue to be irritated by how opaque important Go errors are. I should not have to do string comparisons to discover that my network connection failed due to 'host is unreachable'. The standard library net package has a general error type that's returned from most network operations. If you read through the package