File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -224,10 +224,10 @@ defmodule Process do
224224 > The functions `Kernel.exit/1` and `Process.exit/2` are
225225 > named similarly but provide very different functionalities. The
226226 > `Kernel:exit/1` function should be used when the intent is to stop the current
227- > process while `Process: exit/2` should be used when the intent is to send an
228- > exit signal to another process. Note also that `Kernel: exit/1` raises an
229- > exception that can be caught while `Process: exit/2` does not cause any
230- > exception to be raised .
227+ > process while `Process. exit/2` should be used when the intent is to send an
228+ > exit signal to another process. Note also that `Kernel. exit/1` can be caught
229+ > with `try/1` while `Process. exit/2` can only be handled by trapping exits and
230+ > when the signal is different than `:kill` .
231231
232232 ## Examples
233233
You can’t perform that action at this time.
0 commit comments