Returning an error code in Erlang
Posted
by Zubair
on Stack Overflow
See other posts from Stack Overflow
or by Zubair
Published on 2010-04-18T14:12:17Z
Indexed on
2010/04/18
14:33 UTC
Read the original article
Hit count: 138
erlang
I'm writing some Erlang code and I'm very unsure whether I should let everything fail fast. One problem I find with fail fast is that for the developer/user the exception generated is pretty meaningless. Any idea what I should return which would not give esoteric and hard to read stack traces?
© Stack Overflow or respective owner