<div dir="ltr">Hi, everyone.<br>When I use timer:send_interval/3, I have some puzzle with the return values: {ok, TRef}, {error, Reason}.<br>I see the timer.erl, I know that the timer module is implented by gen_server behaviour, the exported functions such as send_after, apply_after and so on, are just call the gen_server:call/2. the gen_server:call/2 may invoke erlang:exit/1 with some reasons,<br>
but in the timer.erl the timer:req/2 don't catch the exit signal. So I wonder how the timer:send_interval/3 return {error, Reason}. Is it a bug?<br><br>BS!<br>litaocheng<br></div>