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