1
This commit is contained in:
15
Yes.Domain/Core/Exceptions/PageNotExistsException.cs
Normal file
15
Yes.Domain/Core/Exceptions/PageNotExistsException.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Yes.Domain.Core.Exceptions
|
||||
{
|
||||
public class PageNotExistsException : BaseException
|
||||
{
|
||||
public PageNotExistsException(int articleId) : base($"找不到id为{articleId}的单页!")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public PageNotExistsException() : base($"单页不存在!")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user