better 404 handling.

This commit is contained in:
Burak Kaan Köse
2026-04-07 13:23:07 +02:00
parent a9fd624742
commit 3db54023a4
7 changed files with 197 additions and 10 deletions
@@ -82,6 +82,13 @@ public class SynchronizerErrorContext
/// </summary>
public string OperationType { get; set; }
/// <summary>
/// Gets or sets whether the error was explicitly classified as a missing remote entity.
/// This is used to distinguish true "mail/folder/event no longer exists" cases from
/// unrelated HTTP 404 responses that should still surface to the user.
/// </summary>
public bool IsEntityNotFound { get; set; }
/// <summary>
/// Gets whether this error should be retried based on severity and retry count.
/// </summary>