namespace Wino.Core.Domain.Enums;
///
/// Classifies the severity of synchronization errors to determine retry behavior.
///
public enum SynchronizerErrorSeverity
{
///
/// Transient error that should be retried with exponential backoff.
/// Examples: network timeout, temporary server unavailability, rate limiting.
///
Transient,
///
/// Error that can be recovered from by skipping the affected item/folder and continuing sync.
/// Examples: folder deleted externally, message not found, permission denied on single item.
///
Recoverable,
///
/// Fatal error that requires stopping synchronization and user intervention.
/// Examples: account disabled, server permanently unavailable, critical configuration error.
///
Fatal,
///
/// Authentication error that requires the user to re-authenticate.
/// Examples: token expired, password changed, OAuth refresh failed.
///
AuthRequired
}