aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-04-16 12:50:21 +0200
committerBjörn Gustavsson <[email protected]>2018-04-16 14:30:34 +0200
commitfd12c1a168a53d8d4633571433565c859e962b71 (patch)
treeeeb116c962836c28ce34a2356666ad7494d237c5 /lib/stdlib
parent1f4b02e1ebe8dd011feba5dc6916025e61ee7e67 (diff)
downloadotp-fd12c1a168a53d8d4633571433565c859e962b71.tar.gz
otp-fd12c1a168a53d8d4633571433565c859e962b71.tar.bz2
otp-fd12c1a168a53d8d4633571433565c859e962b71.zip
Deprecate erlang:get_stacktrace/0
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/otp_internal.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl
index 5b488cc677..a17addcc42 100644
--- a/lib/stdlib/src/otp_internal.erl
+++ b/lib/stdlib/src/otp_internal.erl
@@ -604,6 +604,9 @@ obsolete_1(filename, find_src, 1) ->
obsolete_1(filename, find_src, 2) ->
{deprecated, "deprecated; use filelib:find_source/3 instead"};
+obsolete_1(erlang, get_stacktrace, 0) ->
+ {deprecated, "deprecated; use the new try/catch syntax for retrieving the stack backtrace"};
+
%% Removed in OTP 20.
obsolete_1(erlang, hash, 2) ->