aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/driver
diff options
context:
space:
mode:
authorDiogo Pinela <diogoid7400@gmail.com>2019-03-28 20:35:28 +0000
committerJonathan Amsterdam <jba@google.com>2024-07-11 00:10:03 +0000
commitdfaaa91f0537f806a02ff2dd71b79844cd16cc4e (patch)
tree409392a3f76d743c15251d4b1d04f3327b165296 /src/database/sql/driver
parent5881d857c573874bde9417e97df3267f19c7ecb6 (diff)
downloadgo-dfaaa91f0537f806a02ff2dd71b79844cd16cc4e.tar.xz
os: clarify that IsNotExist, IsExist, IsPermission and IsTimeout work with nil errors
Referring to these functions' parameter as "*the* error" could be taken to imply that a non-nil error from elsewhere is expected; referring to it as "its argument" avoids that ambiguity. Fixes #31065 Change-Id: I117892dd53fff6f92d11a416e4abedee5d2f9337 Reviewed-on: https://go-review.googlesource.com/c/go/+/170077 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions