From dab2a5eeb67f7e69d8b8175712efa4acd4798ab5 Mon Sep 17 00:00:00 2001 From: Sean Killeen Date: Tue, 2 Jul 2024 09:53:24 -0400 Subject: [PATCH] Update failure message syntax (#7273) --- docs/articles/actors/receive-actor-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/actors/receive-actor-api.md b/docs/articles/actors/receive-actor-api.md index c7b4e0b649f..f387a81516c 100644 --- a/docs/articles/actors/receive-actor-api.md +++ b/docs/articles/actors/receive-actor-api.md @@ -419,7 +419,7 @@ try } catch (Exception e) { - Sender.Tell(new Failure { Exception = e }, Self); + Sender.Tell(new Akka.Actor.Status.Failure(e), Self); } ```