#region ========================================================================= USING =====================================================================================
using Lumina.Presentation.Web.Common.DTO.Common;
using System.Net;
#endregion
namespace Lumina.Presentation.Web.Common.Exceptions;
///
/// Exception for an unsuccessful current-user authorization check, which means that the stored session refers to a user the API no longer knows.
///
public class CurrentUserAuthorizationException : ApiException
{
///
/// Initializes a new instance of the class.
///
/// The problem details object returned by the API.
/// The HTTP status code returned by the API.
/// The absolute path of the API endpoint that produced this exception.
public CurrentUserAuthorizationException(ProblemDetailsDto? problemDetails, HttpStatusCode httpStatusCode, string? requestPath = null)
: base(problemDetails, httpStatusCode, requestPath)
{
}
}