1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| namespace CMS.Plugin.WareCmsUtilityApi.Domain.Shared;
|
| /// <summary>
| /// 错误编码定义
| /// </summary>
| public static class CMSPluginDomainErrorCodes
| {
| /// <summary>
| /// The prefix
| /// </summary>
| private const string Prefix = "CMS.Plugin.WareCmsUtilityApi:";
|
| /* You can add your business exception error codes here, as constants */
|
| public const string NameAlreadyExists = Prefix + nameof(NameAlreadyExists);
| }
|
|