I always make handle_call(Call, _From, State) -> {stop, {invalid_call, Call}, State}. as a last clause because it is a best way to know that _I_ haven't validated call in function, that make gen_server:call