Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Error Handling and Fault Tolerance

via CodeSignal

Overview

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.

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

Reviews

Start your review of Error Handling and Fault Tolerance

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.