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

12 lines
295 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 400 Bad Request
/// </summary>
/// <remarks>
/// 用于参数验证失败、业务规则不满足等场景
/// </remarks>
public class ValidationException(string message) : ApplicationException(message)
{
}