忽略dll文件git

This commit is contained in:
“wanyongkang”
2023-07-29 10:19:42 +08:00
parent 7f97317bcc
commit b562aba2b1
3868 changed files with 63608 additions and 385427 deletions

View File

@@ -1,29 +0,0 @@
using System;
using Hncore.Infrastructure.WebApi;
namespace Hncore.Infrastructure.Data
{
public class BusinessException : Exception
{
public ResultCode Code { get; } = ResultCode.C_UNKNOWN_ERROR;
public BusinessException(string message) : base(message)
{
}
public BusinessException(ResultCode code, string message = "") : base(message)
{
Code = code;
}
public static void Throw(string message = "")
{
throw new BusinessException(message);
}
public static void Throw(ResultCode code, string message = "")
{
throw new BusinessException(code, message);
}
}
}