mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
21 lines
607 B
C#
21 lines
607 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace Kavita.Common;
|
|
|
|
/// <summary>
|
|
/// The user does not exist (aka unauthorized). This will be caught by middleware and Unauthorized() returned to UI
|
|
/// </summary>
|
|
/// <remarks>This will always log to Security Log</remarks>
|
|
public class KavitaUnauthenticatedUserException : Exception
|
|
{
|
|
public KavitaUnauthenticatedUserException()
|
|
{ }
|
|
|
|
public KavitaUnauthenticatedUserException(string message) : base(message)
|
|
{ }
|
|
|
|
public KavitaUnauthenticatedUserException(string message, Exception inner)
|
|
: base(message, inner) { }
|
|
}
|