diff options
author | Andrew <andybons@golang.org> | 2019-06-24 15:28:00 -0400 |
---|---|---|
committer | Andrew Bonventre <andybons@golang.org> | 2019-06-25 15:52:31 +0000 |
commit | 98e1bd2b79bb7da0743450d9e6c0b622ff1e681f (patch) | |
tree | b495073acc4ca5be585df8fdb0f924d1362661a7 | |
parent | 19690053606dd14dedcf028bb37df79e3e33c003 (diff) | |
download | go-98e1bd2b79bb7da0743450d9e6c0b622ff1e681f.tar.gz go-98e1bd2b79bb7da0743450d9e6c0b622ff1e681f.zip |
doc/go1.13: add release notes for the errors package
Also removes remaining TODOs
Change-Id: Id80021b7a64c923c4ebd69fb6e8831a43a76dc72
Reviewed-on: https://go-review.googlesource.com/c/go/+/183625
Reviewed-by: Katie Hockman <katie@golang.org>
-rw-r--r-- | doc/go1.13.html | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/doc/go1.13.html b/doc/go1.13.html index b5e6257008..ec28e38e97 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -34,10 +34,6 @@ Do not send CLs removing the interior tags from such phrases. different ones. </p> -<p> -TODO -</p> - <h2 id="language">Changes to the language</h2> <p> @@ -346,10 +342,6 @@ godoc <h2 id="library">Core library</h2> -<p> -TODO generally -</p> - <h3 id="tls_1_3">TLS 1.3</h3> <p> @@ -383,10 +375,6 @@ TODO generally in mind. </p> -<p> -TODO -</p> - <dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt> <dd> <p> @@ -454,6 +442,24 @@ TODO </dl><!-- debug/dwarf --> +<dl id="errors"><dt><a href="/pkg/errors/">errors</a></dt> + <dd> + <!-- CL 163558 --> + <p> + The new function <a href="/pkg/errors/#As"><code>As</code></a> finds the first error in a given error’s chain + that matches a given target’s type, and if so, sets the target to that error value. + </p> + <p> + The new function <a href="/pkg/errors/#Is"><code>Is</code></a> reports whether a given error value matches an + error in another’s chain. + </p> + <p> + The new function <a href="/pkg/errors/#Unwrap"><code>Unwrap</code></a> returns the result of calling + <code>Unwrap</code> on a given error, if one exists. + </p> + +</dl><!-- errors --> + <dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt> <dd> <p><!-- CL 175218 --> |