Files
f9-web-ai-test/backend/F9WebAiTest.Application/Common/Exceptions/F9NotFoundException.cs
T
2026-10-08 10:43:59 +08:00

13 lines
345 B
C#

namespace F9WebAiTest.Application.Common.Exceptions;
/// <summary>资源不存在异常</summary>
public class F9NotFoundException : Exception
{
public F9NotFoundException(string resourceName, object key)
: base($"{resourceName}不存在'{key}'。")
{
}
public F9NotFoundException(string message) : base(message) { }
}