namespace DodoSSH.Api.Features.Sync;

/// <summary>A cursor was malformed, mis-tagged, or issued for another vault.</summary>
public sealed class InvalidCursorException() : Exception(
    "The sync cursor is not valid for this vault. Resync from the beginning.");

/// <summary>A push batch exceeded a configured cap.</summary>
public sealed class PushBatchTooLargeException(string message) : Exception(message);

/// <summary>A push batch was structurally unusable as a whole.</summary>
public sealed class PushBatchInvalidException(string message) : Exception(message);
