mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-09-06 03:59:04 +00:00
14cbff9877
- 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>
22 lines
867 B
C#
22 lines
867 B
C#
using System;
|
|
|
|
namespace PSProxmoxVE.Core.Exceptions
|
|
{
|
|
/// <summary>Exception thrown when an operation is attempted without an active Proxmox VE session.</summary>
|
|
public class PveNotConnectedException : Exception
|
|
{
|
|
/// <summary>Initializes a new instance indicating no active session exists.</summary>
|
|
public PveNotConnectedException()
|
|
: base("No active Proxmox VE session. Run Connect-PveServer first.")
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance indicating no active session exists, with an inner exception.</summary>
|
|
/// <param name="innerException">The exception that caused this failure.</param>
|
|
public PveNotConnectedException(Exception innerException)
|
|
: base("No active Proxmox VE session. Run Connect-PveServer first.", innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|