
Reusable Ecto Code with Mika Kalathil - EMx 164
Elixir Mix
Using Unix Error Wrappers in Your System
So what it looks like is really just wrapping errors that come out of even like foreign systems for example so most of the times you can because the front end is also relying on these errors. So that includes any errors that you're getting from third parties that you might be calling one of the downsides to that is you might not know every single error type but that can be handled by just using say an internal server error for ones that you don't know. I've personally used it most recently when developing integrations with Stripe because Stripe has a ton of different types of errors and most of them we can handlebut however there's just like a few that come up that we're not
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.