style: update text exception

This commit is contained in:
Polianin Nikita 2024-01-21 22:51:20 +03:00
parent 9aa74218aa
commit 83f85ebb7b

View File

@ -3,4 +3,4 @@ using System.Reflection;
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}\".");