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

part of '../../../persistence.dart';

/// The caller attempted to write using a stale revision.
final class RepositoryStaleRevision extends RepositoryFailure {
  /// Creates a stale-revision failure.
  const RepositoryStaleRevision({
    super.entityId,
    required super.expectedRevision,
    required super.actualRevision,
    super.message,
  });
}
