mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 12:05:51 -04:00
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
20 lines
571 B
C#
20 lines
571 B
C#
using System;
|
|
|
|
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) { }
|
|
}
|