Handling "no process" errors in Elixir
Let's say we have a PID1 from somewhere:
iex(1)> pid = :c.pid(0, 124, 0) #PID<0.124.0> And we want to use it as a GenServer reference:
iex(2)> GenServer.call(pid, :do_something) ** (exit) exited in: GenServer.call(#PID<0.124.0>, :do_something, 5000) ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started (elixir) lib/gen_server.