style: update text exception
This commit is contained in:
parent
9aa74218aa
commit
83f85ebb7b
@ -3,4 +3,4 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace Mirea.Api.DataAccess.Application.Common.Exceptions;
|
namespace Mirea.Api.DataAccess.Application.Common.Exceptions;
|
||||||
|
|
||||||
public class RecordExistException(MemberInfo entity, string name, object id) : Exception($"Entity \"{entity.Name}\" with \"{name}\" already exist with id \"{id}\".");
|
public class RecordExistException(MemberInfo entity, string name, object id) : Exception($"The entity \"{entity.Name}\" property \"{name}\" exists with id \"{id}\".");
|
Loading…
Reference in New Issue
Block a user