Skip to content

Commit c00e6fc

Browse files
Add clarification for stacktrace doc (#14421)
1 parent db6c536 commit c00e6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/elixir/lib/kernel/special_forms.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ defmodule Kernel.SpecialForms do
715715
Returns the stacktrace for the currently handled exception.
716716
717717
It is available only in the `catch` and `rescue` clauses of `try/1`
718-
expressions.
718+
expressions and function definitions.
719719
720720
To retrieve the stacktrace of the current process, use
721721
`Process.info(self(), :current_stacktrace)` instead.

0 commit comments

Comments
 (0)