Elixir Mix cover image

Reusable Ecto Code with Mika Kalathil - EMx 164

Elixir Mix

00:00

Is There a Way to Override the Error Tuple Pattern?

A lot of people suggest to reach for struts rather and say okay package it up in struts which are self-explanatory. It gives the same level of context to your calling APIs instead of having these people in nested tuples you sometimes see. I've been guilty of to do myself to be honest that would be like so if you have an error tuple done the second argument with or the second value would definitely be the error struct right yeah?

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner