1
0
mirror of https://github.com/golang/go synced 2024-11-26 03:27:58 -07:00
go/src/errors
Matt T. Proud 1d0f5c478a errors: reference Go 1.13 article about errors
This commit amends package errors' documentation to include a reference
to the https://go.dev/blog/go1.13-errors blog article. The motivation
is multi-fold, but chiefly the article includes good information about
error philosophy (e.g., when to wrap), and developers who have come to
Go in the intervening five years are likely not have seen this article
at all given the nature of blog publishing and post fanfare. The
material deserves a promotion in visibility.

Change-Id: Ia6f8307784521dd59de3a3d638dbc0a7fcd445e6
GitHub-Last-Rev: 20980dd507
GitHub-Pull-Request: golang/go#69698
Reviewed-on: https://go-review.googlesource.com/c/go/+/616341
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2024-09-30 17:37:38 +00:00
..
errors_test.go
errors.go errors: reference Go 1.13 article about errors 2024-09-30 17:37:38 +00:00
example_test.go errors: add a colon after Output to make the Example in the document display correctly 2023-08-16 02:08:40 +00:00
join_test.go
join.go errors: optimize *joinError's Error method for less allocation and faster execution 2023-07-31 18:37:32 +00:00
wrap_test.go errors: return early for Is(nil, ...) 2024-04-03 22:49:49 +00:00
wrap.go errors: change interface{} to any in comment 2024-05-24 17:13:04 +00:00