// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../../document_migration.dart';

/// Typed categories for migration failures.
enum DocumentMigrationFailureCode {
  /// Selects the `invalidSchemaVersion` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  invalidSchemaVersion,

  /// Selects the `unsupportedSchemaVersion` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  unsupportedSchemaVersion,

  /// Selects the `legacyDocumentFailure` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  legacyDocumentFailure,

  /// Selects the `currentDocumentFailure` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  currentDocumentFailure,
}
