namespace ErsatzTV.Core.Errors;

/// <summary>
///     A <see cref="BaseError" /> raised when a mutation races another operation that already holds an
///     exclusive lock (e.g. a troubleshooting playback session in flight). REST endpoints map this to
///     HTTP 409 Conflict, distinguishing it from the generic 422 other <see cref="BaseError" /> values get.
/// </summary>
public class LockedError : BaseError
{
    public LockedError(string value) : base(value)
    {
    }
}
