Files
EmailBill/Application/Exceptions/BusinessException.cs
SunCheng d052ae5197 fix
2026-02-10 17:49:19 +08:00

20 lines
475 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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)
{
}
}