commit | cbaa666682386fe5350bf87d7d70171704c90fe4 | [log] [tgz] |
---|---|---|
author | Yasser Abdolmaleki <yasser@yasser.ca> | Thu Jul 25 20:44:06 2019 -0700 |
committer | Rob Pike <r@golang.org> | Sun Jan 19 02:25:54 2020 +0000 |
tree | 123b551fe378c4fed5f3a04c41324424a6fe9ce8 | |
parent | 98d2717499575afe13d9f815d46fcd6e384efb0c [diff] |
net: document *OpError.Err must not be nil The point of *net.OpError is to add details to an underlying lower level error. It makes no sense to have an OpError without an Err and a nil *OpError.Err will cause *OpError.Error() method to panic. Fixes #33007 Change-Id: If4fb2501e02dad110a095b73e18c47312ffa6015 Reviewed-on: https://go-review.googlesource.com/c/go/+/187677 Reviewed-by: Rob Pike <r@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.