Error Handling & Recovery in Elixir
Details
Speaker: Pierre Lebrun
Maybe you've heard that you shouldn't use exceptions in Elixir. Or somebody told you to just "let it fail". This is an area that seemed hazy to me for a while. In this talk, we'll explore practical solutions and patterns for handling both expected and unexpected failures.
Topics covered will include:
• Language features for error handling
• The common :ok and :error "Monad"
• Process recovery with supervisors
• Strategies to prevent data loss on crashes
• Misc Tips and tricks, Do's and Don'ts
