Advice on how to avoid Go-like error handling patterns in Elixir?

You make a great case. To be honest, I haven’t read much about the with statement throughout my journey learning Elixir nor have I seen it used very frequently. For this reason, I don’t believe I was as aware of it as I should have been. However, it seems like the exact construct I need. In fact, I found this link in the getting started guide about using with to refactor exactly this kind of scenario. Cheers for the advice!