fix
This commit is contained in:
11
Application/Exceptions/NotFoundException.cs
Normal file
11
Application/Exceptions/NotFoundException.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Application.Exceptions;
|
||||
|
||||
/// <summary>
|
||||
/// 资源未找到异常(对应HTTP 404 Not Found)
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 用于查询的资源不存在等场景
|
||||
/// </remarks>
|
||||
public class NotFoundException(string message) : ApplicationException(message)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user