Setup basic code for login.
This commit is contained in:
parent
a2e6d03d5b
commit
2b521924d0
15 changed files with 381 additions and 6 deletions
16
API/Errors/ApiException.cs
Normal file
16
API/Errors/ApiException.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
namespace API.Errors
|
||||
{
|
||||
public class ApiException
|
||||
{
|
||||
public int Status { get; set; }
|
||||
public string Message { get; set; }
|
||||
public string Details { get; set; }
|
||||
|
||||
public ApiException(int status, string message = null, string details = null)
|
||||
{
|
||||
Status = status;
|
||||
Message = message;
|
||||
Details = details;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue