1
This commit is contained in:
16
Yes.Domain/Core/Exceptions/SlugInUseException.cs
Normal file
16
Yes.Domain/Core/Exceptions/SlugInUseException.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Yes.Domain.Core.Exceptions
|
||||
{
|
||||
|
||||
public class SlugInUseException : BaseException
|
||||
{
|
||||
public SlugInUseException(string slug) : base($"缩略名{slug}已经被使用!")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public SlugInUseException() : base($"缩略名已经被使用!")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user