From 23b4cde859059c350bdd95ddfac317be62705561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 8 Mar 2011 11:23:24 +0100 Subject: Reference manual: Don't mention fault/{1,2} --- system/doc/reference_manual/errors.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'system') diff --git a/system/doc/reference_manual/errors.xml b/system/doc/reference_manual/errors.xml index 02885a3813..99e48544d6 100644 --- a/system/doc/reference_manual/errors.xml +++ b/system/doc/reference_manual/errors.xml @@ -48,10 +48,8 @@ The Erlang programming language has built-in features for handling of run-time errors.

A run-time error can also be emulated by calling - erlang:error(Reason), erlang:error(Reason, Args) - (those appeared in Erlang 5.4/OTP-R10), - erlang:fault(Reason) or erlang:fault(Reason, Args) - (old equivalents).

+ erlang:error(Reason) or erlang:error(Reason, Args) + (those appeared in Erlang 5.4/OTP-R10).

A run-time error is another name for an exception of class error.

@@ -91,7 +89,7 @@ error - Run-time error for example 1+a, or the process called erlang:error/1,2 (appeared in Erlang 5.4/OTP-R10B) or erlang:fault/1,2 (old equivalent) + Run-time error for example 1+a, or the process called erlang:error/1,2 (appeared in Erlang 5.4/OTP-R10B) exit -- cgit v1.2.3 From 18cb45518979a0825f92ffaa11e0c14721f460bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 8 Mar 2011 11:23:58 +0100 Subject: Reference manual: Add missing right parenthesis --- system/doc/reference_manual/errors.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/doc/reference_manual/errors.xml b/system/doc/reference_manual/errors.xml index 99e48544d6..2160398700 100644 --- a/system/doc/reference_manual/errors.xml +++ b/system/doc/reference_manual/errors.xml @@ -106,7 +106,7 @@ and a stack trace (that aids in finding the code location of the exception).

The stack trace can be retrieved using - erlang:get_stacktrace/0 (new in Erlang 5.4/OTP-R10B + erlang:get_stacktrace/0 (new in Erlang 5.4/OTP-R10B) from within a try expression, and is returned for exceptions of class error from a catch expression.

An exception of class error is also known as a run-time -- cgit v1.2.3 From 252eb8d4aa133826ae05043dbdddf9389e416fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Tue, 8 Mar 2011 11:29:27 +0100 Subject: Reference Manual: Replace "it's" with "its" "Its" is a possessive pronoun, "it's" is a contraction of "it is". --- system/doc/reference_manual/expressions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 714ecccaf6..1049c251d0 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -269,7 +269,7 @@ fun lists:append/2([1,2], [3,4]) set of auto-imported BIFs does not silently change the behavior of old code.

-

However, to avoid that old (pre R14) code changed it's +

However, to avoid that old (pre R14) code changed its behavior when compiled with OTP version R14A or later, the following restriction applies: If you override the name of a BIF that was auto-imported in OTP versions prior to R14A (ERTS version -- cgit v1.2.3