using System; using System.Net; namespace StellaOps.Cli.Services; internal sealed class PolicyApiException : Exception { public PolicyApiException(string message, HttpStatusCode statusCode, string? errorCode, Exception? innerException = null) : base(message, innerException) { StatusCode = statusCode; ErrorCode = errorCode; } public HttpStatusCode StatusCode { get; } public string? ErrorCode { get; } }