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;
|
|
|
|
|
}
|