11.3  Handling of Run-time Errors in Erlang

11.3 Handling of Run-time Errors in Erlang

Error Handling Within Processes

It is possible to prevent run-time errors and other exceptions from causing the process to terminate by using catch or try, see Expressions about catch and try.

Error Handling Between Processes

Processes can monitor other processes and detect process terminations, see Processes.