From 6c0545ab833b2b834f351e59242a3ea64051fa3a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 30 Jan 2020 19:22:15 -0800 Subject: [PATCH] doc/go1.14: mention new method strconv.NumError.Unwrap Updates #30322 Updates #36878 Change-Id: I8b33eb6a8fb7c0ecf365940a1c3ae88dc807ebcd Reviewed-on: https://go-review.googlesource.com/c/go/+/217132 Reviewed-by: Bryan C. Mills --- doc/go1.14.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/go1.14.html b/doc/go1.14.html index 7e74c7a69b..26644cca59 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -694,6 +694,23 @@ TODO +
strconv
+
+

+ The NumError + type now has + an Unwrap + method that may be used to retrieve the reason that a conversion + failed. + This supports using NumError values + with errors.Is to see + if the underlying error + is strconv.ErrRange + or strconv.ErrSyntax. +

+
+
+
sync

-- 2.50.0