[erlang-questions] erlang:error/1 clarification?
Zabrane Mickael
zabrane3@REDACTED
Wed Dec 21 21:58:16 CET 2011
Hi,
a. On OSX (R14B04 or R15B)
1> erlang:error(badarith).
** exception error: bad argument in an arithmetic expression
2> erlang:error(badarg).
** exception error: bad argument
b. On Linux (R14B04)
1> erlang:error(badarith).
** exception error: bad argument in an arithmetic expression
in function apply/2
2> erlang:error(badarg).
** exception error: bad argument
in function apply/2
Why the error messages are different between OSX and Linux?
Regards,
Zabrane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111221/6a1fa94e/attachment.htm>
More information about the erlang-questions
mailing list