Files
simapi-net/Exceptions/SimApiException.cs
T
2020-08-05 15:29:56 +08:00

17 lines
330 B
C#

using System;
namespace SimApi.Exceptions
{
/// <summary>
/// Api错误捕获异常
/// </summary>
public class SimApiException : Exception
{
public int Code { get; }
public SimApiException(int code, string message = "") : base(message)
{
Code = code;
}
}
}