Erlang Mailing Lists

Author Message

<  Erlang questions mailing list  ~  exiting with badarg

lyn at healthquiz.com
Posted: Sun Jun 13, 1999 4:37 am Reply with quote
Guest
I'm trying to diagnose an error message and I wonder if
anything immediately jumps out at the experts. here is the
shell interaction:

55> chat_client:signup().
** exited: {badarg,{chat_client,signup,[]}} **

=ERROR REPORT==== 12-Jun-1999::23:29:29 ===
!!! Error in process <0.144.0> with exit value:
{badarg,{chat_client,signup,[]}}

I assume this means that chat_client doesn't contain a zero
argument function called signup. But chat_client.erl contains this:


signup() ->
chat_server ! {sign_up, name(), self()},
receive {ok, Pid} ->
io:format("signup succeeded"),
chat_client_dispatch(name())
after 5 ->
failed
end.

so where is this bad match occurring?


thanks,
-Lyn


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum