Error handling in Elixir libraries
There was an interesting discussion yesterday on the Elixir Slack about how libraries should handle errors. This is a more thought-through and elaborate expression on my views on the matter. In the post, I’ll present an idealised version of how I think a public API for functions that may produce errors should look like.
http://michal.muskala.eu/2017/02/10/error-handling-in-elixir-libraries.html
Read next Intro to Elixir Video