Skip to content

Commit 7811909

Browse files
authored
Update lib/elixir/lib/exception.ex
1 parent 3350aef commit 7811909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/elixir/lib/exception.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ defmodule Exception do
208208
normalize it. If the `error` argument is an Elixir exception, this function will invoke
209209
the optional `c:blame/2` callback on the exception module if it is implemented.
210210
Unlike `message/1`, this function will not rescue errors - if the callback raises an exception,
211-
the error will propagate to the caller.
211+
the error will propagate to the caller. It is your choice if you want to rescue and return
212+
the original exception, return a different exception, or let it cascade.
212213
"""
213214
@doc since: "1.5.0"
214215
@spec blame(:error, any, stacktrace) :: {t, stacktrace}

0 commit comments

Comments
 (0)