Files
simapi-net/Exceptions/SimApiException.cs
T

11 lines
224 B
C#
Raw Normal View History

2020-02-04 16:51:15 +08:00
using System;
2024-03-23 07:29:43 +08:00
namespace SimApi.Exceptions;
/// <summary>
/// Api错误捕获异常
/// </summary>
public class SimApiException(int code, string message = "") : Exception(message)
{
public int Code { get; } = code;
}