This commit is contained in:
SunCheng
2026-02-10 17:49:19 +08:00
parent 3e18283e52
commit d052ae5197
104 changed files with 10369 additions and 3000 deletions

View File

@@ -0,0 +1,19 @@
namespace Application.Exceptions;
/// <summary>
/// 业务逻辑异常对应HTTP 500 Internal Server Error
/// </summary>
/// <remarks>
/// 用于业务操作失败、数据状态不一致等场景
/// </remarks>
public class BusinessException : ApplicationException
{
public BusinessException(string message) : base(message)
{
}
public BusinessException(string message, Exception innerException)
: base(message, innerException)
{
}
}