File 0713-fixup-Clarify-try-of-documentation.patch of Package erlang

From 36ea1e786a2d5de7d973148e2b4790adb2d13fca Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Fri, 14 Feb 2020 12:32:44 +0100
Subject: [PATCH 2/3] fixup! Clarify try-of documentation

---
 system/doc/reference_manual/expressions.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index ea152801d7..f5f31408a2 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -1416,8 +1416,9 @@ end</code>
       <seealso marker="#case">case</seealso> expression, except that if
       the matching fails, a <c>try_clause</c> run-time error occurs instead of a
       <c>case_clause</c>.</p>
-    <p>An exception occurring during the evaluation of <c>Body</c> is not
-      caught. Neither is a failed match <c>try_clause</c> exception.</p>
+    <p>Only exceptions occurring during the evaluation of <c>Exprs</c> can be
+      caught by the <c>catch</c> section. Exceptions occuring in a <c>Body</c>
+      or due to a failed match are not caught.</p>
     <p>The <c>try</c> expression can also be augmented with an
       <c>after</c> section, intended to be used for cleanup with side
       effects:</p>
-- 
2.16.4

openSUSE Build Service is sponsored by