mirror of https://github.com/abpframework/abp.git
4 changed files with 21 additions and 8 deletions
@ -0,0 +1,17 @@ |
|||||
|
using JetBrains.Annotations; |
||||
|
using System; |
||||
|
using Volo.Abp; |
||||
|
|
||||
|
namespace Volo.CmsKit.Tags |
||||
|
{ |
||||
|
[Serializable] |
||||
|
public class TagAlreadyExistException : BusinessException |
||||
|
{ |
||||
|
public TagAlreadyExistException([NotNull] string entityType, [NotNull] string name) |
||||
|
{ |
||||
|
Code = CmsKitErrorCodes.TagAlreadyExist; |
||||
|
WithData(nameof(Tag.EntityType), entityType); |
||||
|
WithData(nameof(Tag.Name), name); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue