File 0378-erts-Remove-doc-reference-to-get_stacktrace-0-from-r.patch of Package erlang

From fc9978b4ea46c8004f3c407be305bfcf40099062 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Tue, 9 Jun 2020 21:17:21 +0200
Subject: [PATCH] erts: Remove doc reference to get_stacktrace/0 from raise/3

---
 erts/doc/src/erlang.xml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 67d7a07bae..ddcec2113c 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -5743,9 +5743,16 @@ RealSystem = system + MissedSystem</code>
           <c>erlang:raise(<anno>Class</anno>, <anno>Reason</anno>,
           <anno>Stacktrace</anno>)</c> is equivalent to
           <c>erlang:<anno>Class</anno>(<anno>Reason</anno>)</c>.</p>
-        <p><c><anno>Reason</anno></c> is any term.
-          <c><anno>Stacktrace</anno></c> is a list as
-          returned from <c>get_stacktrace()</c>, that is, a list of
+        <p><c><anno>Reason</anno></c> can be any term.</p>
+        <p><c><anno>Stacktrace</anno></c> is a list as provided in a try-catch
+	  clause.</p>
+	  <pre>
+try
+    ...
+catch Class:Reason:Stacktrace ->
+    ...
+end</pre>
+        <p>That is, a list of
           four-tuples <c>{Module, Function, Arity | Args,
           Location}</c>, where <c>Module</c> and <c>Function</c>
           are atoms, and the third element is an integer arity or an
-- 
2.26.2

openSUSE Build Service is sponsored by