Erlang/Elixir style of returning 2 elements with :ok / :error status

Thank you @didibus

I read both Error handling in clojure and Is error-throwing bad functional programming? and your explanation

is the best btw.

1 Like