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