feat(admin): added backend for admin pages
This commit is contained in:
parent
54cfc05b88
commit
56ea7fb7f0
26 changed files with 662 additions and 42 deletions
|
|
@ -7,10 +7,16 @@ public class AuthRepositoryException : System.Exception
|
|||
public AuthRepositoryException(string message, System.Exception inner) : base(message, inner) { }
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class AuthNotFoundException : AuthRepositoryException
|
||||
{
|
||||
public AuthNotFoundException() { }
|
||||
public AuthNotFoundException(string message) : base(message) { }
|
||||
public AuthNotFoundException(string message, System.Exception inner) : base(message, inner) { }
|
||||
}
|
||||
|
||||
public class AuthAlreadyExistsException : AuthRepositoryException
|
||||
{
|
||||
public AuthAlreadyExistsException() { }
|
||||
public AuthAlreadyExistsException(string message) : base(message) { }
|
||||
public AuthAlreadyExistsException(string message, System.Exception inner) : base(message, inner) { }
|
||||
}
|
||||
16
backend/src/Exceptions/ClientServiceExceptions.cs
Normal file
16
backend/src/Exceptions/ClientServiceExceptions.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
namespace JellyGlass.Exceptions;
|
||||
|
||||
public class ClientServiceException : System.Exception
|
||||
{
|
||||
public ClientServiceException() { }
|
||||
public ClientServiceException(string message) : base(message) { }
|
||||
public ClientServiceException(string message, System.Exception inner) : base(message, inner) { }
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class ClientNotFoundException : ClientServiceException
|
||||
{
|
||||
public ClientNotFoundException() { }
|
||||
public ClientNotFoundException(string message) : base(message) { }
|
||||
public ClientNotFoundException(string message, System.Exception inner) : base(message, inner) { }
|
||||
}
|
||||
15
backend/src/Exceptions/ServerRepositoryExceptions.cs
Normal file
15
backend/src/Exceptions/ServerRepositoryExceptions.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
namespace JellyGlass.Exceptions;
|
||||
|
||||
public class ServerRepositoryException : Exception
|
||||
{
|
||||
public ServerRepositoryException() { }
|
||||
public ServerRepositoryException(string message) : base(message) { }
|
||||
public ServerRepositoryException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
|
||||
public class ServerNotFoundException : ServerRepositoryException
|
||||
{
|
||||
public ServerNotFoundException() { }
|
||||
public ServerNotFoundException(string message) : base(message) { }
|
||||
public ServerNotFoundException(string message, Exception inner) : base(message, inner) { }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue