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

part of '../../repositories.dart';

/// Stable repository mutation failure categories.
enum RepositoryFailureCode {
  /// Selects the `notFound` option from this enum.
  /// Code should use this named value when it needs this exact scheduler state, presentation token, or persistence meaning.
  notFound,

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

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

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

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