]> Cypherpunks repositories - gostls13.git/commit
doc/effective_go.html: a little more about errors
authorRob Pike <r@golang.org>
Wed, 14 May 2014 20:46:58 +0000 (13:46 -0700)
committerRob Pike <r@golang.org>
Wed, 14 May 2014 20:46:58 +0000 (13:46 -0700)
commit1476686cdb6acafdf62aad7672c3839bc4ca7033
treea0faf34387885698a90c06911369adc349b207f0
parent61d8a33719e0a90f74adb432cdfd3ab3d261d1d5
doc/effective_go.html: a little more about errors
Make it a little clearer how they are used, in particular that
it is not enough just to return a nil pointer on error, but also
to return an error value explaining the problem.

Fixes #1963.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/97360045
doc/effective_go.html