?
This commit is contained in:
12
Models/ApiException.cs
Normal file
12
Models/ApiException.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace CatLink.Models
|
||||
{
|
||||
public class ApiException : Exception
|
||||
{
|
||||
public int Code { get; }
|
||||
|
||||
public ApiException(int code, string message) : base(message)
|
||||
{
|
||||
Code = code;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user