[erlang-questions] Error vs. Exit

David Mercer dmercer@REDACTED
Fri Aug 24 17:15:53 CEST 2007


How do you decide whether to use erlang:error/1, erlang:error/2, and exit/1?
I can't quite grok the distinction between "when you really want to
terminate the current process" and "something rather nasty has happened that
callers are not really expected to handle."  Please advise.  Thank-you.

 

Cheers,

 

David

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070824/70fcafcd/attachment.htm>


More information about the erlang-questions mailing list