
Supervisors in Elixir
In my previous article we were talking about Open Telecom Platform (OTP) and, more specifically, the GenServer abstraction that makes it simpler to work with server processes. GenServer, as you probably remember, is a behaviour—to use it, you need to define a special callback module that satisfies the contract as dictated by this behaviour.What we have not discussed, however, is error handling. I mean, any system may eventually experience errors, and it is important to take of them properly.