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

part of '../../document_mapping.dart';

/// Stable document mapping failure categories.
enum DocumentMappingFailureCode {
  /// Selects the `missingField` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  missingField,

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

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

  /// 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 `invalidRevision` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  invalidRevision,

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