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?
Share
I’d recommend you logging with error_logger(3) and have developer look what actually happens behind the scenes. It’s recommended to follow OTP principles in order to collect all data which is returned by VM when process crashes.