This course covers error handling mechanisms in Elixir, including try/catch/rescue, the with statement, Task module for concurrent error handling, and supervisors for fault tolerance.
Overview
Syllabus
- Unit 1: Error Handling with Try Rescue
- Handle List Errors Gracefully
- Fix Integer Parsing with Rescue
- Map Fetching Without Surprises
- Safe File Reading and Division
- Unit 2: Chaining Validations with With
- Fix the Validation Chain
- Chain Product Validations with With
- Registration Form Validation Challenge
- Unit 3: Concurrent Error Handling
- Make Concurrent Tasks Return Safely
- Add a Failing File Source Concurrently
- Concurrent Tasks with Results Summary
- Unit 4: Supervisor Pattern Essentials
- Switch Supervisor Strategy and Observe
- Fix Supervisor and Registry Setup
- Get Worker PIDs by ID
- Build and Test a Supervised System