Files
PSProxmoxVE/src/PSProxmoxVE.Core/Exceptions/PveSessionExpiredException.cs
T
Clint Branham 14cbff9877 docs: add XML doc comments to Core public API and remove CS1591 suppression
- Add missing XML doc comments to all public types and members in
  PSProxmoxVE.Core (Authentication, Exceptions, Models, Client)
- Remove CS1591 suppression from PSProxmoxVE.Core.csproj
- Build succeeds with 0 warnings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 12:21:54 -05:00

22 lines
920 B
C#

using System;
namespace PSProxmoxVE.Core.Exceptions
{
/// <summary>Exception thrown when the Proxmox VE session ticket has expired.</summary>
public class PveSessionExpiredException : Exception
{
/// <summary>Initializes a new instance indicating the session has expired.</summary>
public PveSessionExpiredException()
: base("Your Proxmox VE session has expired. Please run Connect-PveServer to establish a new session.")
{
}
/// <summary>Initializes a new instance indicating the session has expired, with an inner exception.</summary>
/// <param name="innerException">The exception that caused this failure.</param>
public PveSessionExpiredException(Exception innerException)
: base("Your Proxmox VE session has expired. Please run Connect-PveServer to establish a new session.", innerException)
{
}
}
}