The current documentation reads:
// OpError is the error type usually returned by functions in the
// net package. It describes the operation, network type, and address of an error.
type OpError struct {
// Op is the operation which caused the error, such as
// "read" or "write".
Op string
As far as I am aware the only way to determine which "Op"'s exist is by grepping the source code of the net package.
In particular I am interested in determining whether an error with an Op value of "dial" could have ever been returned after a client sent bytes of a request to a remote HTTP server.
The current documentation reads:
As far as I am aware the only way to determine which "Op"'s exist is by grepping the source code of the
netpackage.In particular I am interested in determining whether an error with an
Opvalue of"dial"could have ever been returned after a client sent bytes of a request to a remote HTTP server.