A walk through run-time errors and Supervisors.
Three types of run-time errors:
- errors: invalid data operation, missing function, unknown pattern match, or raise your own.
- exits: deliberately terminate a process.
- throw: to catch up the call stack.
The result of a a try
/catch
/after
block is always from either the try
or catch
clause, never the after
clause.
Processes can be linked and monitored.