From e783c084ab7fd4884ef0581f4f169a110f503ea3 Mon Sep 17 00:00:00 2001 From: mironov-artem <91034374+mironov-artem@users.noreply.github.com> Date: Sat, 28 Mar 2026 05:09:40 +0400 Subject: [PATCH] Update 02-error-handling.md --- documentation/tutorials/02-error-handling.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/tutorials/02-error-handling.md b/documentation/tutorials/02-error-handling.md index 9c9d811..a3f1a02 100644 --- a/documentation/tutorials/02-error-handling.md +++ b/documentation/tutorials/02-error-handling.md @@ -420,11 +420,11 @@ defmodule EmailService do case error do %{type: :network_timeout} -> IO.puts("🔄 Network timeout - retrying email send...") - :retry + {:retry, %{type: :network_timeout}} %{type: :rate_limit} -> IO.puts("🔄 Rate limited - retrying email send...") - :retry + {:retry, %{type: :rate_limit}} %{type: :blocked_email} -> IO.puts("❌ Email blocked - cannot retry")